Synopsis
cluck pilot <enable/explain/review>
Description
Brings PeckPilot into your terminal. Explains errors, reviews diffs, and suggests the one command you were looking for.
Options
| Flag | Description |
|---|---|
--model M | Model size (mini, standard, large) |
--no-context | Do not include repository context |
--yes | Apply suggestions without asking |
All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.
Example
$ cluck pilot explain error.log
The database timed out because the pool is exhausted. Try raising max_conns.
Exit codes
| 0 | Success. A quiet cluck. |
|---|---|
| 1 | The command ran but reported a problem, such as a failing check. |
| 2 | Bad usage: a flag was missing or invalid. |
| 3 | Authentication or permission error. See HEN-2001. |