Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 1.74 KB

README.md

File metadata and controls

81 lines (59 loc) · 1.74 KB

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