An open API service indexing awesome lists of open source software.

https://github.com/pablopunk/clean-git-cli

Find all git repos that are not 'clean' from your command line
https://github.com/pablopunk/clean-git-cli

Last synced: 11 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# clean-git-cli






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

## Install

```sh
npm install -g clean-git-cli
```

## Usage

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

```bash
Commands:
help Display help

Options:
-h, --help Show help
-H, --help Output usage information
-i, --ignores Paths to ignore (defaults to ["node_modules"])
-m, --maxdepth 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](https://github.com/pablopunk/clean-git-cli/issues/new) or a [PR](https://github.com/pablopunk/clean-git-cli/compare).

## Related

The API for this module => [clean-git](https://github.com/pablopunk/clean-git)

## License

[MIT](license)

## Author

| ![me](https://gravatar.com/avatar/fa50aeff0ddd6e63273a068b04353d9d?size=100) |
| --------------------------------- |
| [Pablo Varela](http://pablo.life) |