Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidOutputFormat = errors.New("invalid output format")
Functions ¶
func NewRootCmd ¶
Types ¶
type OutputFormat ¶
type OutputFormat string
const ( Plain OutputFormat = "plain" JSON OutputFormat = "json" )
func ParseOutputFormat ¶
func ParseOutputFormat(s string) (OutputFormat, error)
func (OutputFormat) String ¶
func (o OutputFormat) String() string
func (OutputFormat) Valid ¶
func (o OutputFormat) Valid() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.