Documentation
¶
Overview ¶
Package output provides output formatting for the nuc CLI. It supports multiple output formats (table, JSON) with a common interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type Formatter interface {
// Format renders tabular data with headers and rows.
Format(w io.Writer, headers []string, rows [][]string) error
// FormatSingle renders a single object as key-value pairs.
FormatSingle(w io.Writer, fields []Field) error
}
Formatter renders structured data to a writer.
Click to show internal directories.
Click to hide internal directories.