p202 completion

Generate the autocompletion script for the specified shell

All commands

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, CLAUDECODE or another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with a hint.
  • Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
p202 commands completion --json
{
  "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
}