Global flags
tx command flags
Common combinations
simulate command flags
Common combinations
batch command flags
Common combinations
config command flags
Configuration commands don’t use typical flags; they accept subcommand-specific arguments.
Environment variables
Alternative to CLI flags (CLI flags take precedence):
Resolution order (AI keys)
- Shell exports (
GROQ_API_KEY / ANTHROPIC_API_KEY)
.env file in installation directory
~/.opendev/credentials.json (set by opendev login or opendev config set-key)
- None (only rule-based insights available)
Output modes
Default (human-readable)
Formatted terminal output with CPI tree, compute units, and insights.
JSON
Full analysis as JSON. Pipe into jq:
CSV
When --output is omitted, writes <signature>.csv in the current directory.
Timeout handling
Source file execution
The first run of a Rust project may be slow due to cargo build. Use --exec-timeout 300 or higher if you hit the 90-second default.