Documentation
¶
Overview ¶
Package formats provides additional output formats for proto-cli.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Table ¶
func Table() protocli.OutputFormat
Table returns an OutputFormat that renders proto messages as tab-separated columns.
Features:
- Flattens nested messages with dot notation (e.g. "user.name")
- Renders repeated fields as comma-separated values
- Sorted column keys for deterministic output
- First Format() call emits header + data; subsequent calls emit data only
- Supports --no-header flag to suppress the header row
- Tab-separated output is composable with `column -t`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.