Skip to content
/ gprj Public

Clean & simple CLI git multi project manager

Notifications You must be signed in to change notification settings

dolfbarr/gprj

Repository files navigation

GPRJ

Clean & simple CLI git multi project manager

oclif Version Downloads/week License Test

Installation

$ npm install gprj -g

Usage

$ 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
...

Commands

gprj add

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

gprj list

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

gprj ls

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)

gprj r

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

gprj raw

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

gprj remove

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

gprj rm

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

gprj version

USAGE
  $ gprj version

See code: @oclif/plugin-version

Thanks

  • 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!

License

Released under the MIT license.