spire-plugin-clean
v5.0.5
Published
Clean plugin for Spire
Keywords
Readme
spire-plugin-clean
Spire plugin to remove files matching
.gitignore. Unstaged files are kept by default
Hooks
setupAddscleancommand.runRunsgit cleancommand.
Options
Plugin
['spire-plugin-clean', options]command<string> Command to run on. Defaults toclean.keep<Array<string>> Glob of files to keep even if matched. Defaults to['node_modules/', '.vscode/', '.atom/', '.idea/', '.sublime-project/'].
CLI
npx spire clean [args]- Passes all arguments as-is to
git clean - Tip: use
npx spire clean --dry-runto check which files would be removed.
- Passes all arguments as-is to
