Documentation
¶
Overview ¶
Package output centralises how commands render results.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Detail ¶
Detail writes an aligned key/value view of a single resource. Labels are coloured and, when present, sources dimmed — both after alignment.
func Render ¶
Render writes data as JSON (applying JQ) when JSON output is requested, otherwise delegates to human. human may be nil when only JSON is expected.
Types ¶
Click to show internal directories.
Click to hide internal directories.