https://github.com/pablopunk/find-repos-cli
Find git repos recursively from the command line
https://github.com/pablopunk/find-repos-cli
Last synced: about 1 year ago
JSON representation
Find git repos recursively from the command line
- Host: GitHub
- URL: https://github.com/pablopunk/find-repos-cli
- Owner: pablopunk
- License: mit
- Created: 2017-05-27T04:55:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T15:44:19.000Z (about 9 years ago)
- Last Synced: 2024-10-19T08:58:36.496Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# find-repos-cli
Find git repos recursively from your command line
## Install
```bash
npm install --global find-repos-cli
```
## Usage
Use `find-repos -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
$ find-repos
- Find all repos starting from your home folder
$ find-repos ~
- Find all repos starting from "repos", ignoring paths containing *dist* or *node_modules*, and looking only 2 levels deep
$ find-repos repos/ -m 2 -i dist -i node_modules
```
## Contribute
[](https://github.com/feross/standard)
Feel free to open an [issue](https://github.com/pablopunk/find-repos/issues/new) or a [PR](https://github.com/pablopunk/find-repos/compare).
## Related
The API for this module => [find-repos](https://github.com/pablopunk/find-repos)
## Author
|  |
| ----------------------------------------------------------------------------- |
| © 2017 [Pablo Varela](https://twitter.com/pablopunk) |