Global options
Global options can appear before or after the command.Output formats
Terminal output defaults totable; redirected stdout defaults to JSON. Use an explicit format when another program consumes the result:
--all fetches a page at a time; it does not load the full collection into memory.
Always check the exit code. A stream interrupted by a failure can leave partial output; a file being present does not mean an export completed.
Paginated collections
List commands generally accept--limit, --cursor, and --all. The default page size is 50 and the maximum is 200. Search has its own bounded limits and is not an exhaustive export.
Confirm mutations
For an approved operation in an unattended script, pass both flags:--no-input alone fails rather than silently accepting a write. Prefer file-based create/update commands over interactive edit in automation.
Named writes generate an idempotency key for each invocation. A fresh invocation generates a new key, so blindly rerunning a timed-out command can repeat the operation. Inspect the resulting resource or use raw API requests with an explicitly preserved key when you need retry control.
Observe long-running work
delivery_id; cursors expire after one day.
Exit codes
Environment variables
Keep credentials out of arguments, profile files, source control, and logs.