Skip to main content
Global flags apply to every CLI command. Use them to control output format, override authentication, and enable debug logging.

Flag reference

The deploy command uses its own output flag with values text and json (not table/yaml). See deploy commands for details.

Output formats

Table (default)

Human-readable columns, suitable for terminal use:

JSON

Machine-readable output for scripting:
Pipe to jq for filtering:

YAML

Useful for generating config-as-code snippets:

Verbose mode

Enable debug logging to see API request and response details:
This prints the HTTP method and URL of every API request to stderr (e.g. GET https://api.devhelm.io/api/v1/monitors). Useful for confirming which endpoint and base URL a command hits — for response details, inspect the error output, which carries the HTTP status, error code, and requestId on failures.

Next steps

Exit codes

Handle CLI outcomes in scripts and CI.

Authentication

Token resolution and named contexts.