difyctl help system covers four surfaces: the top-level overview, per-command and group help, guide topics, and a machine-readable form of all of them. All help prints to stdout and exits 0.
Get Help
Four invocations show the same top-level overview:Help for One Command or Group
Append--help to any command, or put help in front of it:
unknown help topic: <name>, suggestions, and exit code 1.
Guide Topics
Long-form topics ship inside the CLI, read withdifyctl help <topic>:
These topics are built into the CLI. For which variables
difyctl actually reads, see Environment Variables.
Machine-Readable Help
Every help surface accepts-o json and -o yaml. The top-level form emits the complete command surface in one document:
bin,contract: exit codes, output formats, the shape of error output, and cross-command rulescommands: one descriptor per commandtopics: the available guide topics by name, with each topic’s text read viadifyctl help <topic>
effect label (read, write, or destructive), and an agentGuide string where one exists. This is how coding agents discover difyctl.
Exit Codes
See Output Formats and Exit Codes for the full scheme.