Use global flags to control CLI behavior consistently across commands, especially for telemetry and machine-readable output.
| Capability | What it gives you |
|---|---|
| Telemetry control | Disable telemetry for one command execution when needed |
| AI/help formatting | Return help output in readable or structured formats |
| Cross-command consistency | Apply the same control flags to create, dev, start, preview, and build |
| Flag | Description | Default |
|---|---|---|
--no-telemetry |
Disable anonymous telemetry for a single command execution. | telemetry enabled |
--ai-help |
Show AI-assistant oriented help output. | disabled |
--format <pretty|json> |
Output format used with --ai-help. |
pretty |
Use this when policy requires explicitly disabling telemetry for specific automation runs.
Use this for AI tooling, wrappers, or scripts that parse command help output.
Use pretty mode when you want assistant-friendly output that still reads well in terminal sessions.
TELEMETRY.md.