Documentation
¶
Index ¶
Constants ¶
View Source
const ( OutputJSON = "json" OutputStyled = "styled" )
Variables ¶
View Source
var ( // 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 AppName = "otdfctl" Version = "0.24.0" // x-release-please-version BuildTime = "1970-01-01T00:00:00Z" CommitSha = "0000000" // Test mode is used to determine if the application is running in test mode // "true" = running in test mode TestMode = "" // Test terminal size is a runtime env var to allow for testing of terminal output TEST_TERMINAL_WIDTH = "TEST_TERMINAL_WIDTH" )
View Source
var ErrLoadingConfig = errors.New("error loading config")
Functions ¶
func UpdateOutputFormat ¶
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.