Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

clean-git-cli

pablopunk22MIT2.1.1

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

git, repos, miny, find, cli, command

readme

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.

The API for this module => clean-git

License

MIT

Author

me
Pablo Varela