clean-git-cli

2.1.1 • Public • Published

clean-git-cli

Find all git repos that are not 'clean' from your command line

Install

npm install -g clean-git-cli

Usage

Use clean-git -h to display the following help:

  Commands:
    help  Display help
 
  Options:
    -h, --help            Show help
    -H, --help            Output usage information
    -i, --ignores <list>  Paths to ignore (defaults to ["node_modules"])
    -m, --maxdepth <n>    How deep the search gets (defaults to 3)
    -v, --version         Output the version number
 
  Examples:
    - Find all repos starting from the current directory
    $ clean-git
 
    - Find all repos starting from your home folder
    $ clean-git ~
 
    - Find all repos starting from "repos", ignoring paths containing *dist* or *node_modules*, and looking only 2 levels deep
    $ clean-git repos/ -m 2 -i dist -i node_modules

Contribute

Feel free to open an issue or a PR.

Related

The API for this module => clean-git

License

MIT

Author

me
Pablo Varela

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i clean-git-cli

Weekly Downloads

1

Version

2.1.1

License

MIT

Last publish

Collaborators

  • pablopunk