Documentation ¶
Overview ¶
Package output provides structured output for *cobra.Command. Writing JSON to stdout is enable by setting the --output=json flag.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetJSONStderr ¶ added in v2.6.5
func SetJSONStdout ¶ added in v2.6.5
func WantsJSONOutput ¶ added in v2.6.5
Types ¶
type StructuredStreamer ¶ added in v2.6.5
Click to show internal directories.
Click to hide internal directories.