Format Selection
The output format is determined by this priority chain:--rawflag (shorthand for--format json)--format <type>flag (table,json,csv,markdown)format:in.ibmi/config.yaml- Auto-detect:
tablewhen output is a TTY,jsonwhen piped
Table (Default for TTY)
Formatted tables with box-drawing characters, column alignment, and a footer showing the system name, host, row count, and elapsed time.JSON
Structured JSON envelope with metadata. Default when output is piped to another command.NDJSON (Streaming)
One JSON object per row, separated by newlines. Ideal for streaming processing and large result sets.CSV
Comma-separated values with a header row. Useful for data export and spreadsheet import.Markdown
Markdown-formatted table. Useful for documentation, reports, and chat tool output.File Output
Write output to a file instead of stdout using--output:
--watch to continuously update a file: