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

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

Awesome Lists containing this project

README

          

# find-repos-cli


Find git repos recursively from your command line




Code Style

## 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

[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](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

| ![me](https://www.gravatar.com/avatar/fa50aeff0ddd6e63273a068b04353d9d?s=100) |
| ----------------------------------------------------------------------------- |
| © 2017 [Pablo Varela](https://twitter.com/pablopunk) |