Skip to main content

Module output

Module output 

Source
Expand description

Output formatting helpers. Three modes:

  • Human — width-padded text columns / labeled rows.
  • Tsv — tab-separated, ready for awk/cut.
  • Json — raw GraphQL data slice.

Structs§

FormatChoice

Enums§

Format

Functions§

render_record
Render a single record as labeled rows.
render_table
Render a table of rows. headers.len() must equal each row’s length. Empty input is a no-op.