https://github.com/2nthony/ghq
GitHub repositories Query manager.
https://github.com/2nthony/ghq
cli ghq git git-cli git-management git-manager opinionated repositories repositories-manager
Last synced: about 1 year ago
JSON representation
GitHub repositories Query manager.
- Host: GitHub
- URL: https://github.com/2nthony/ghq
- Owner: 2nthony
- License: mit
- Created: 2022-07-09T10:24:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-23T06:23:44.000Z (over 1 year ago)
- Last Synced: 2024-11-24T16:46:58.315Z (over 1 year ago)
- Topics: cli, ghq, git, git-cli, git-management, git-manager, opinionated, repositories, repositories-manager
- Language: TypeScript
- Homepage:
- Size: 305 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ghq
[](https://npm.im/ghq-node) [](https://npm.im/ghq-node)
**G**it**H**ub repositories **Q**uery manager. The [ghq](https://github.com/x-motemen/ghq)(Node.js implemented).
## Features
- Light-weight. No dependency, just a **10+ Kb** single file.
- Git flavoured.
- Support one-time usage via `npx`.
## Prerequisites
- [Git](https://git-scm.com/) CLI installed.
- Node.js
## Usage
```sh
# global install
npm i -g ghq-node
$ ghq
# one-time usage, RECOMMENDED
npx ghq-node
```
```console
ghq/0.0.0
Usage:
$ ghq [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
```
## Directory
```sh
~
├── .ghqrc # config file
└── ghq
└── github.com
├── 2nthony
│ ├── dotfiles
│ ├── ghq
│ └── vercel-toast
├── ravenxrz
│ └── dotfiles
└── vuejs
└── vue
```
## Inspirations
- [x-motemen/ghq](https://github.com/x-motemen/ghq)
## Sponsors
[](https://github.com/sponsors/2nthony)
## License
MIT © [2nthony](https://github.com/sponsors/2nthony)