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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6aeff67 · Oct 29, 2024
Mar 11, 2023
Jun 4, 2023
Mar 26, 2023
Mar 11, 2023
Mar 11, 2023
Jul 9, 2022
Jul 9, 2022
Jan 8, 2023
Oct 29, 2024
Oct 29, 2024
Jan 31, 2023
Jan 30, 2023
Jul 9, 2022

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