Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Global Flags

These flags are available on every Zora CLI command.

FlagDescription
--jsonOutput structured JSON instead of formatted terminal output
--version, -VPrint the CLI version number
--help, -hDisplay help for a command

--json

All commands support --json for machine-readable output. When enabled:

  • Structured JSON is written to stdout
  • The beta warning is written to stderr
  • Interactive prompts are disabled
  • Errors return { "error": "...", "suggestion": "..." }
npx @zoralabs/cli get creator-coin jacob --json

Per-Command Flags

Commands with live data (explore, get, balance, profile) support additional display mode flags:

FlagDescriptionDefault
--liveInteractive live-updating displaydefault for these commands
--staticStatic snapshot (single render, then exit)
--refresh <seconds>Auto-refresh interval in live mode (min 5)30

These flags are mutually exclusive with --json. Use one of: --json, --live, or --static.

Trade Flags

Commands that execute transactions (buy, sell, send) support:

FlagDescription
--yesSkip confirmation prompt and execute immediately
--quotePreview the trade without executing (buy, sell only)
--slippage <pct>Slippage tolerance percent (buy, sell only, default: 1%)
--debugPrint full request/response JSON (buy, sell only)