Documentation
¶
Overview ¶
Package output implements the CLI's machine-readable stdout contract.
Index ¶
Constants ¶
View Source
const ( FormatJSON = "json" FormatText = "text" FormatRaw = "raw" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIError ¶
CLIError is a stable E_* error with its canonical exit and retry semantics.
type Options ¶
type Options struct {
Format string
Compact bool
Fields []string
StartedAt time.Time
Notices []any
}
Options controls one command invocation's output.
Click to show internal directories.
Click to hide internal directories.