claude --output-format
Print mode output: text, json or stream-json.
More flags
- --input-format: Print mode input: text or stream-json.
- --max-turns: Limit agentic turns in print mode.
- --max-budget-usd: Stop a print mode run once estimated spend reaches this amount.