clean-git-cli
v2.1.1
Published
Find all git repos that are not 'clean' from your command line
Downloads
6
Maintainers
Readme
clean-git-cli
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
Author
| | | --------------------------------- | | Pablo Varela |