Output Formats
Most commands support structured output for automation and reporting.
--output table— human-readable (default)--output json— best for scripting with jq--output yaml— config-friendly format
Examples:
Output Format Examples
# JSON for piping into jq
grantflow roles list --output json | jq -r '.[].id'
# YAML when generating configs
grantflow admin roles list --output yaml
Tip: The Getting Started guide includes more examples:
- ../getting-started/cli.md#scripting-automation