Output formats
Every CLI command accepts--output <format>. The CLI auto-detects:
- TTY (your terminal) →
tableby default - Non-TTY (pipe, CI) →
jsonby default
--output or with the ROBOTICKS_OUTPUT env var.
Supported formats
Examples
Table (default for TTY)
table renderer is responsive — column widths adapt to terminal width, long values truncate with … and become available in --output json for the full string.
Sparkline column
rbtk test list --branch <ref> adds a sparkline of the last 20 runs on that branch:
rbtk requirements list— per-requirement, last 20 runs’ confirmation statusrbtk pool stats --since 24h— queue wait p95 over the window
--no-sparkline if you pipe table output (rare).
JSON
YAML
IDs-only
CSV
Piping patterns
jq for fields
yq for YAML
Watch loops
--watch on commands that support it:
--watch keeps the table view alive and re-renders on change (server-sent events for low latency).
Environment overrides
ROBOTICKS_OUTPUT=json is what GitHub Actions / GitLab CI / Jenkins jobs typically set globally so every command in the pipeline emits JSON.
Determinism guarantees
Scripts and CI parsers should use
json (or ids/csv). Do not parse table.
Next
Test commands
See sparkline tables in action.
CI/CD recipes
Pipe
json output into pipeline steps.