Documentation
¶
Index ¶
Constants ¶
View Source
const ( OutputJSON = "json" OutputStyled = "styled" ErrLoadingConfig Error = "error loading config" )
Variables ¶
View Source
var AppName = "otdfctl"
AppName is the name of the application Note: use caution when renaming as it is used in various places within the CLI including for config file naming and in the profile store
View Source
var BuildTime = "1970-01-01T00:00:00Z"
View Source
var CommitSha = "0000000"
View Source
var Version = "0.0.0"
Functions ¶
func UpdateOutputFormat ¶
func UpdateOutputFormat(cfgKey, format string)
Types ¶
type ConfigFlagOverrides ¶
type ConfigFlagOverrides struct {
OutputFormatJSON bool
}
captures all CLI flags that will override pre-specified config values
Click to show internal directories.
Click to hide internal directories.