Skip to content
/ ghq Public
generated from 2nthony/ts-lib-starter

GitHub repositories Query manager.

License

Notifications You must be signed in to change notification settings

2nthony/ghq

Repository files navigation

ghq

version downloads

GitHub repositories Query manager. The 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 CLI installed.
  • Node.js

Usage

# 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

Directory

~
├── .ghqrc    # config file
└── ghq
    └── github.com
        ├── 2nthony
        │   ├── dotfiles
        │   ├── ghq
        │   └── vercel-toast
        ├── ravenxrz
        │   └── dotfiles
        └── vuejs
            └── vue

Inspirations

Sponsors

sponsors

License

MIT © 2nthony