$ gh q --help
Usage:
gh q get <repo> ... Clone a repository into ~/ghq/github.com
gh q list ... List all repositories in ~/ghq/github.com
gh q clean [--days N] [--dry-run]
... Delete repos with no local activity for N days (default 15) under ~/ghq
gh q -- <command> ... Search via fzf and run <command> in the selected directory
gh q <command> ... Search via fzf and run <command> with selected directory as argument
$ gh q --help
Usage:
gh q get <repo> ... リポジトリを~/ghq/github.comにクローン
gh q list ... ~/ghq/github.comにある全リポジトリを表示
gh q clean [--days N] [--dry-run]
... ローカル活動がN日以上ないリポジトリを ~/ghq から削除 (デフォルト15日)
gh q -- <command> ... fzfで検索し、選択したディレクトリで<command>を実行
gh q <command> ... fzfで検索し、選択したディレクトリを引数として<command>を実行
Passes the selected directory path as an argument to the command.
gh q code # Opens VS Code with the selected directory
gh q ls -la # Lists files in the selected directory
Changes to the selected directory first, then executes the command.
gh q -- claude # Run Claude Code in the selected directory
gh q -- npm test # Runs npm test in the selected directory
[gh-q] gh extensionでghqを置き換える - Zenn
# Install
gh extension install HikaruEgashira/gh-q
gh q get HikaruEgashira/gh-q
Works well with:
# Example workflow
gh q # Select repository
gh wt add feature/new # Create new worktree
gh ws init # Create/update workspace