Documentation
¶
Overview ¶
Package output is the single output contract: data to stdout, human chatter to stderr, stable JSON, --format json|plain|tsv, --select projection, and --limit bounding. See contract.md §1 and §6.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
Stdout io.Writer
Stderr io.Writer
Format Format
Color bool
Limit int
Select []string
}
Writer routes all command output. Data goes to Stdout; Info/Warn go to Stderr.
func (*Writer) Emit ¶
Emit renders a value to stdout per the active format, after applying --select and --limit.
Click to show internal directories.
Click to hide internal directories.