CLI Reference
Every command of hunkbot, the one binary that reviews a pull request, posts it, answers its replies and keeps the feedback.
Usage
hunkbot <pull request> reviews it, with the flags of hunkbot review. Every other command is named first. Progress is said on standard error; the result is printed on standard output.
-h, --help
The command's usage, flags and examples.
-V, --version
The version installed.
Naming a Pull Request
https://github.com/acme/app/pull/12
address
Its address, from anywhere.
acme/app#12
owner/name#n
Its repository and its number.
12
n
Its number, inside its repository.
(nothing)
default
The current branch's pull request, where the command takes one by default.
Exit Codes
0
Done: the review passed, or --help and --version.
1
Blocked: a confirmed finding at or above --gate. Also a command that failed, its error on a line starting hunkbot:.
2
Incomplete: a part of the change was not reviewed.
3
Not reviewed: the repository's .hunkbot.toml or the team's hunkbot.toml leaves out the pull request's author.
64
The command line was used wrongly: a flag unknown, or two that cannot go together.
69
The command is not built yet; it says the version it comes in.
77
Not signed in to Hunkbot, or its sign-in refused by the service: run hunkbot auth login, then the command again. Nothing was done.
Environment
HUNKBOT_HOME
~/.hunkbot
Where Hunkbot keeps its configuration, clones, checkouts, reviews and feedback.
CLAUDE_CONFIG_DIR
optional
A Claude Code config folder the skill is linked into, beside ~/.claude.