spire-plugin-clean

5.0.5 • Public • Published

spire-plugin-clean

Spire plugin to remove files matching .gitignore. Unstaged files are kept by default

Hooks

  • setup Adds clean command.
  • run Runs git clean command.

Options

  • Plugin ['spire-plugin-clean', options]

    • command <string> Command to run on. Defaults to clean.
    • 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-run to check which files would be removed.

Readme

Keywords

none

Package Sidebar

Install

npm i spire-plugin-clean

Weekly Downloads

32

Version

5.0.5

License

MIT

Unpacked Size

9.92 kB

Total Files

6

Last publish

Collaborators

  • sbekrin
  • researchgate-bot
  • stefanhoth
  • mdio