Commands and flags
Output formats, paging, dry runs and environment variables.
Global flags
Every command accepts these:
Request bodies
Set fields with flags, nested ones with dots:
Or send the whole body as JSON, from an argument or stdin:
--params '<json>' merges extra parameters and overrides individual flags.
Paging
List commands that page also accept:
Scripting
Exit code 0 means success. On an API error, the CLI prints the error to stderr and exits non-zero.
Environment variables
Shell completion
Also bash, fish and powershell.