01How it works
Generate the autocompletion script for p202 for the specified shell. See each sub-command's help for details on how to use the generated script.
02Commands
4 under p202 completion.
03For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands completion --json. - With
AI_AGENT,CLAUDECODEor another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with ahint. - Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
{
"path": "p202 completion",
"use": "completion",
"short": "Generate the autocompletion script for the specified shell",
"long": "Generate the autocompletion script for p202 for the specified shell.\nSee each sub-command's help for details on how to use the generated script.",
"runnable": false
}