GitHub repositories Query manager. The ghq(Node.js implemented).
- Light-weight. No dependency, just a 10+ Kb single file.
- Git flavoured.
- Support one-time usage via
npx
.
- Git CLI installed.
- Node.js
# global install
npm i -g ghq-node
$ ghq
# one-time usage, RECOMMENDED
npx ghq-node
ghq/0.0.0
Usage:
$ ghq <command> [options]
Commands:
clone [repo] Clone/sync with a remote repository
init [repo] Init a new repository
list [query] List local repositories
config Manage the ghq configuration file
root Show repositories' root
For more info, run any command with the `--help` flag:
$ ghq clone --help
$ ghq init --help
$ ghq list --help
$ ghq config --help
$ ghq root --help
Options:
-v, --version Display version number
-h, --help Display this message
~
├── .ghqrc # config file
└── ghq
└── github.com
├── 2nthony
│ ├── dotfiles
│ ├── ghq
│ └── vercel-toast
├── ravenxrz
│ └── dotfiles
└── vuejs
└── vue
MIT © 2nthony