Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FormatFlag string
)
Functions ¶
func BlockStdOut ¶
func BlockStdOut()
func NewFormatter ¶
func NewFormatter(data interface{}) *outputFormatter
func RegisterFormatFlag ¶
func RegisterFormatFlag(cmd *cobra.Command)
func UnblockStdOut ¶
func UnblockStdOut()
Types ¶
type JSONFormatter ¶
type JSONFormatter struct{}
type YAMLFormatter ¶
type YAMLFormatter struct{}
Click to show internal directories.
Click to hide internal directories.