Skip to main content

Module output

Module output 

Source
Expand description

Output formatters

This module provides formatters for different output formats:

  • table: Human-readable table format (comfy-table)
  • json: JSON array format
  • jsonl: JSON Lines format (streaming)
  • csv: CSV format (RFC 4180)
  • tsv: TSV format

Re-exports§

pub use collector::RowCollector;
pub use formatter::create_formatter;
pub use formatter::Formatter;

Modules§

collector
Output collector for capturing rows without formatting.
csv
CSV formatter (RFC 4180)
formatter
Formatter trait and factory function
json
JSON array formatter
jsonl
JSON Lines formatter
server
Server management output helpers.
table
Table formatter using comfy-table
tsv
TSV formatter