gh-tool
gh-tool (GitHub)
GitHub CLI wrapper — PRs, issues, workflows, checks, reviews, merge. Part of @blogic-cz/agent-tools.
How to Run
Run via bun gh-tool (requires @blogic-cz/agent-tools as a dev dependency).
NEVER run bare gh — the credential guard will block it.
Auth: gh auth login or GITHUB_TOKEN env var.
Discover commands
bun gh-tool commands dumps the entire command tree (every subcommand + its flags, types, choices, descriptions) as one structured payload — fetch it once instead of running --help repeatedly. Every agent-tools CLI has a commands subcommand (e.g. bun db-tool commands, bun k8s-tool commands).
PR Commands
Use --repo <profile|owner/name> when working outside a single-repo checkout. If a repository has a PR template, prefer --body-stdin with a literal heredoc for pr create and pr edit; use --body-file only when the filled file already exists.