Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flag ¶ added in v0.4.0
type Flag struct {
// contains filtered or unexported fields
}
func NewFlag ¶ added in v0.4.0
func NewFlag(o *Flag, defaultType OutputType, defaultStringFormat, defaulErrorFormat string) *Flag
func (*Flag) ErrorFormat ¶ added in v0.4.0
func (*Flag) StringFormat ¶ added in v0.4.0
type OutputType ¶
type OutputType string
const ( JsonType OutputType = "json" YamlType OutputType = "yaml" TableType OutputType = "table" TextType OutputType = "text" )
Click to show internal directories.
Click to hide internal directories.