Documentation
¶
Overview ¶
Package format provides the table, YAML, JSON, and "name" output modes used across flate's CLI surface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Table ¶
Table renders rows of map[string]string into a fixed-width table. Columns are sized to the widest cell + a 4-char gutter. Widths are measured in runes (not bytes) so cells with multi-byte UTF-8 (paths with non-ASCII, chart names with unicode) align correctly. Doesn't account for double-width CJK glyphs — adding a runewidth dependency is out of scope; bring it in when CJK output matters.
Types ¶
Click to show internal directories.
Click to hide internal directories.