Documentation
¶
Index ¶
Constants ¶
View Source
const ( // related to the --output flag DefaultOutputFormat = "text" OutputFlagName = "output" OutputFlagShort = "o" OutputConfigPath = OutputFlagName // related to the --profile flag ProfileFlagName = "profile" ProfileFlagShort = "p" // related to the --config-file flag ConfigFilePathFlagName = "config-file" // related to the --log-level flag LogLevelFlagName = "log-level" DefaultLogLevel = "info" LogLevelConfigPath = LogLevelFlagName )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutputFormat ¶
type OutputFormat int
Represents an enum of valid values for the format of the output for this CLI execution
const ( JSON OutputFormat = iota YAML TEXT )
func OutputFormatStringToIota ¶
func OutputFormatStringToIota(format string) (OutputFormat, error)
func (OutputFormat) String ¶
func (of OutputFormat) String() string
Click to show internal directories.
Click to hide internal directories.