Clean & simple CLI git multi project manager
$ npm install gprj -g
$ npm install -g gprj
$ gprj COMMAND
running command...
$ gprj (--version|-v)
gprj/1.1.3 darwin-x64 node-v12.20.2
$ gprj --help [COMMAND]
USAGE
$ gprj COMMAND
...
adds repository to local database
USAGE
$ gprj add [-h]
FLAGS
-h, --help Show CLI help.
DESCRIPTION
adds repository to local database
EXAMPLES
$ gprj add /path/to/repo
✔ done Repository repo has been successfully added
See code: dist/commands/add.ts
lists all repositories
USAGE
$ gprj list [-h]
FLAGS
-h, --help Show CLI help.
DESCRIPTION
lists all repositories
ALIASES
$ gprj ls
EXAMPLES
$ gprj list
All repositories:
1. gprj (main)
See code: dist/commands/list.ts
lists all repositories
USAGE
$ gprj ls [-h]
FLAGS
-h, --help Show CLI help.
DESCRIPTION
lists all repositories
ALIASES
$ gprj ls
EXAMPLES
$ gprj list
All repositories:
1. gprj (main)
execute a shell command in repo path
USAGE
$ gprj r -x <value> [-h] [-t <value>]
FLAGS
-h, --help Show CLI help.
-t, --timeout=<value> [default: 5000] timeout in ms
-x, --execute=<value> (required) command to execute
DESCRIPTION
execute a shell command in repo path
ALIASES
$ gprj r
EXAMPLES
$ gprj raw /path/to/repo1 /path/to/repo2 --execute='yarn test' --timeout=2000
✔ repo1
✔ repo2
✔ done All commands has been successfully executed
execute a shell command in repo path
USAGE
$ gprj raw -x <value> [-h] [-t <value>]
FLAGS
-h, --help Show CLI help.
-t, --timeout=<value> [default: 5000] timeout in ms
-x, --execute=<value> (required) command to execute
DESCRIPTION
execute a shell command in repo path
ALIASES
$ gprj r
EXAMPLES
$ gprj raw /path/to/repo1 /path/to/repo2 --execute='yarn test' --timeout=2000
✔ repo1
✔ repo2
✔ done All commands has been successfully executed
See code: dist/commands/raw.ts
removes repository from local database
USAGE
$ gprj remove [-h]
FLAGS
-h, --help Show CLI help.
DESCRIPTION
removes repository from local database
ALIASES
$ gprj rm
EXAMPLES
$ gprj remove /path/to/repo @2 repo
✔ done All repositories have been successfully removed
See code: dist/commands/remove.ts
removes repository from local database
USAGE
$ gprj rm [-h]
FLAGS
-h, --help Show CLI help.
DESCRIPTION
removes repository from local database
ALIASES
$ gprj rm
EXAMPLES
$ gprj remove /path/to/repo @2 repo
✔ done All repositories have been successfully removed
USAGE
$ gprj version
See code: @oclif/plugin-version
- GPRJ is inspired a lot by gita and taskbook.
- The project is built upon many libs and thanks all the authors!
- Another round of thanks to all the contributors!
Released under the MIT license.