Documentation
¶
Overview ¶
Package output renders Bot API JSON results in table/json/yaml/csv. One renderer serves every command, driven by JSON normalization: an object becomes one row, an array of objects becomes many, nested fields flatten to dotted keys. Output is deterministic (preferred-key order then alphabetical) and pipe-clean (notes go to stderr) per the cliwright standard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Format Format
Columns []string // explicit column selection (overrides the preferred order)
NoColor bool
Quiet bool
JQ string // optional gojq expression applied before rendering
MaxCols int // cap auto-detected columns (default 10)
Out io.Writer
Err io.Writer
}
Options configure a single Render call.
Click to show internal directories.
Click to hide internal directories.