Documentation
¶
Index ¶
- Constants
- Variables
- func BashCompletionMain(c *CLI)
- func BashCompletionSub(c *CLI, cm *CLICommand)
- func Err(err error) bool
- func FixPath(path string) string
- func PanicErr(err error)
- func ResetForTesting(usage func())
- type AppInfo
- type BoolFlg
- func (c *BoolFlg) AdjustValue(cmd string, flgValues map[string]interface{})
- func (c *BoolFlg) BuildFlag(flgSet *flag.FlagSet, varMap map[string][]FieldPtr, ...)
- func (c *BoolFlg) GAction() interface{}
- func (c *BoolFlg) GCommaSepVal() bool
- func (c *BoolFlg) GCommand(cmd string)
- func (c *BoolFlg) GEnvVar() string
- func (c *BoolFlg) GEnvVarExclude() bool
- func (c *BoolFlg) GHidden() bool
- func (c *BoolFlg) GName() string
- func (c *BoolFlg) GOptions() interface{}
- func (c *BoolFlg) GRequired() bool
- func (c *BoolFlg) GShortName() string
- func (c *BoolFlg) GUsage() string
- func (c *BoolFlg) GValue() interface{}
- func (c *BoolFlg) GVariable() interface{}
- func (c *BoolFlg) GVariableToString() string
- func (c *BoolFlg) Kind() error
- func (c *BoolFlg) RequiredAndNotSet() bool
- func (c *BoolFlg) RetrieveConfigValue(val *TomlWrapper, name string) error
- func (c *BoolFlg) RetrieveEnvValue() error
- func (c *BoolFlg) SetDebug(dbg bool)
- func (c *BoolFlg) SetDebugLevel(lvl int64)
- func (c *BoolFlg) SetEnvVar(envVar string)
- func (c *BoolFlg) UnquotedUsage() string
- func (c *BoolFlg) ValidValue() bool
- func (c *BoolFlg) ValueAsString() string
- type CLI
- func (c *CLI) Command(name string) *CLICommand
- func (c *CLI) DebugLevel() int64
- func (c *CLI) Flag(flgName string, flgs []CLIFlag) CLIFlag
- func (c *CLI) GetHttpProxy() string
- func (c *CLI) GetHttpsProxy() string
- func (c *CLI) GetNoProxy() string
- func (c *CLI) Help() bool
- func (c *CLI) IsDebug() bool
- func (c *CLI) IsProxySet() bool
- func (c *CLI) Parse() error
- func (c *CLI) SetupEnvVars()
- func (c *CLI) ValidateFlgKind() error
- func (c *CLI) ValidateValues(commands bool) error
- type CLICommand
- type CLIFlag
- type Commands
- type Fatal
- type FatalAdapter
- type FieldPtr
- type Float64Flg
- func (c *Float64Flg) AdjustValue(cmd string, flgValues map[string]interface{})
- func (c *Float64Flg) BuildFlag(flgSet *flag.FlagSet, varMap map[string][]FieldPtr, ...)
- func (c *Float64Flg) GAction() interface{}
- func (c *Float64Flg) GCommaSepVal() bool
- func (c *Float64Flg) GCommand(cmd string)
- func (c *Float64Flg) GEnvVar() string
- func (c *Float64Flg) GEnvVarExclude() bool
- func (c *Float64Flg) GHidden() bool
- func (c *Float64Flg) GName() string
- func (c *Float64Flg) GOptions() interface{}
- func (c *Float64Flg) GRequired() bool
- func (c *Float64Flg) GShortName() string
- func (c *Float64Flg) GUsage() string
- func (c *Float64Flg) GValue() interface{}
- func (c *Float64Flg) GVariable() interface{}
- func (c *Float64Flg) GVariableToString() string
- func (c *Float64Flg) Kind() error
- func (c *Float64Flg) RequiredAndNotSet() bool
- func (c *Float64Flg) RetrieveConfigValue(val *TomlWrapper, name string) error
- func (c *Float64Flg) RetrieveEnvValue() error
- func (c *Float64Flg) SetDebug(dbg bool)
- func (c *Float64Flg) SetDebugLevel(lvl int64)
- func (c *Float64Flg) SetEnvVar(envVar string)
- func (c *Float64Flg) UnquotedUsage() string
- func (c *Float64Flg) ValidValue() bool
- func (c *Float64Flg) ValueAsString() string
- type Int64Flg
- func (c *Int64Flg) AdjustValue(cmd string, flgValues map[string]interface{})
- func (c *Int64Flg) BuildFlag(flgSet *flag.FlagSet, varMap map[string][]FieldPtr, ...)
- func (c *Int64Flg) GAction() interface{}
- func (c *Int64Flg) GCommaSepVal() bool
- func (c *Int64Flg) GCommand(cmd string)
- func (c *Int64Flg) GEnvVar() string
- func (c *Int64Flg) GEnvVarExclude() bool
- func (c *Int64Flg) GHidden() bool
- func (c *Int64Flg) GName() string
- func (c *Int64Flg) GOptions() interface{}
- func (c *Int64Flg) GRequired() bool
- func (c *Int64Flg) GShortName() string
- func (c *Int64Flg) GUsage() string
- func (c *Int64Flg) GValue() interface{}
- func (c *Int64Flg) GVariable() interface{}
- func (c *Int64Flg) GVariableToString() string
- func (c *Int64Flg) Kind() error
- func (c *Int64Flg) RequiredAndNotSet() bool
- func (c *Int64Flg) RetrieveConfigValue(val *TomlWrapper, name string) error
- func (c *Int64Flg) RetrieveEnvValue() error
- func (c *Int64Flg) SetDebug(dbg bool)
- func (c *Int64Flg) SetDebugLevel(lvl int64)
- func (c *Int64Flg) SetEnvVar(envVar string)
- func (c *Int64Flg) UnquotedUsage() string
- func (c *Int64Flg) ValidValue() bool
- func (c *Int64Flg) ValueAsString() string
- type InvalidObjectError
- type InvalidValueError
- type StringFlg
- func (c *StringFlg) AdjustValue(cmd string, flgValues map[string]interface{})
- func (c *StringFlg) BuildFlag(flgSet *flag.FlagSet, varMap map[string][]FieldPtr, ...)
- func (c *StringFlg) GAction() interface{}
- func (c *StringFlg) GCommaSepVal() bool
- func (c *StringFlg) GCommand(cmd string)
- func (c *StringFlg) GEnvVar() string
- func (c *StringFlg) GEnvVarExclude() bool
- func (c *StringFlg) GHidden() bool
- func (c *StringFlg) GName() string
- func (c *StringFlg) GOptions() interface{}
- func (c *StringFlg) GRequired() bool
- func (c *StringFlg) GShortName() string
- func (c *StringFlg) GUsage() string
- func (c *StringFlg) GValue() interface{}
- func (c *StringFlg) GVariable() interface{}
- func (c *StringFlg) GVariableToString() string
- func (c *StringFlg) Kind() error
- func (c *StringFlg) RequiredAndNotSet() bool
- func (c *StringFlg) RetrieveConfigValue(val *TomlWrapper, name string) error
- func (c *StringFlg) RetrieveEnvValue() error
- func (c *StringFlg) SetDebug(dbg bool)
- func (c *StringFlg) SetDebugLevel(lvl int64)
- func (c *StringFlg) SetEnvVar(envVar string)
- func (c *StringFlg) UnquotedUsage() string
- func (c *StringFlg) ValidValue() bool
- func (c *StringFlg) ValueAsString() string
- type StringList
- type TomlWrapper
- type Uint64Flg
- func (c *Uint64Flg) AdjustValue(cmd string, flgValues map[string]interface{})
- func (c *Uint64Flg) BuildFlag(flgSet *flag.FlagSet, varMap map[string][]FieldPtr, ...)
- func (c *Uint64Flg) GAction() interface{}
- func (c *Uint64Flg) GCommaSepVal() bool
- func (c *Uint64Flg) GCommand(cmd string)
- func (c *Uint64Flg) GEnvVar() string
- func (c *Uint64Flg) GEnvVarExclude() bool
- func (c *Uint64Flg) GHidden() bool
- func (c *Uint64Flg) GName() string
- func (c *Uint64Flg) GOptions() interface{}
- func (c *Uint64Flg) GRequired() bool
- func (c *Uint64Flg) GShortName() string
- func (c *Uint64Flg) GUsage() string
- func (c *Uint64Flg) GValue() interface{}
- func (c *Uint64Flg) GVariable() interface{}
- func (c *Uint64Flg) GVariableToString() string
- func (c *Uint64Flg) Kind() error
- func (c *Uint64Flg) RequiredAndNotSet() bool
- func (c *Uint64Flg) RetrieveConfigValue(val *TomlWrapper, name string) error
- func (c *Uint64Flg) RetrieveEnvValue() error
- func (c *Uint64Flg) SetDebug(dbg bool)
- func (c *Uint64Flg) SetDebugLevel(lvl int64)
- func (c *Uint64Flg) SetEnvVar(envVar string)
- func (c *Uint64Flg) UnquotedUsage() string
- func (c *Uint64Flg) ValidValue() bool
- func (c *Uint64Flg) ValueAsString() string
- type UsageAdapter
- type UsageDisplay
- type VarFlg
- func (c *VarFlg) AdjustValue(cmd string, flgValues map[string]interface{})
- func (c *VarFlg) BuildFlag(flgSet *flag.FlagSet, varMap map[string][]FieldPtr, ...)
- func (c *VarFlg) GAction() interface{}
- func (c *VarFlg) GCommaSepVal() bool
- func (c *VarFlg) GCommand(cmd string)
- func (c *VarFlg) GEnvVar() string
- func (c *VarFlg) GEnvVarExclude() bool
- func (c *VarFlg) GHidden() bool
- func (c *VarFlg) GName() string
- func (c *VarFlg) GOptions() interface{}
- func (c *VarFlg) GRequired() bool
- func (c *VarFlg) GShortName() string
- func (c *VarFlg) GUsage() string
- func (c *VarFlg) GValue() interface{}
- func (c *VarFlg) GVariable() interface{}
- func (c *VarFlg) GVariableToString() string
- func (c *VarFlg) Kind() error
- func (c *VarFlg) RequiredAndNotSet() bool
- func (c *VarFlg) RetrieveConfigValue(val *TomlWrapper, name string) error
- func (c *VarFlg) RetrieveConfigValueOrig(val map[string]interface{}, name string) error
- func (c *VarFlg) RetrieveEnvValue() error
- func (c *VarFlg) SetDebug(dbg bool)
- func (c *VarFlg) SetDebugLevel(lvl int64)
- func (c *VarFlg) SetEnvVar(envVar string)
- func (c *VarFlg) UnquotedUsage() string
- func (c *VarFlg) ValidValue() bool
- func (c *VarFlg) ValueAsString() string
Constants ¶
View Source
const ( UseHTTPProxy = "Sets http_proxy for network connections" UseHTTPSProxy = "Sets https_proxy for network connections" UseNoProxy = "Sets no_proxy for network connections" )
Variables ¶
Functions ¶
func BashCompletionMain ¶
func BashCompletionMain(c *CLI)
func BashCompletionSub ¶
func BashCompletionSub(c *CLI, cm *CLICommand)
func ResetForTesting ¶
func ResetForTesting(usage func())
ResetForTesting clears all flag state and sets the usage function as directed. After calling ResetForTesting, parse errors in flag handling will not exit the program.
Types ¶
type AppInfo ¶
type AppInfo struct { // Version typically v0.0.1 format of version Version string // BuildDate typically set to a unix timestamp format BuildDate string // GitCommit the short git commit hash GitCommit string // GitBranch the short git commit hash GitBranch string // GoVersion go version application was built upon GoVersion string // Title plain text name for the application Title string // Description detailed purpose of the application Description string Usage string Author string // Copyright typically company or developer copyright i.e. [ (c) 4-digit-year company/user ] Copyright string }
AppInfo supplies all pertinent information for the application
type BoolFlg ¶
type BoolFlg struct { Variable interface{} Name string ShortName string Usage string EnvVar string EnvVarExclude bool Value bool CommaSepVal bool Required bool Action interface{} Options []bool Hidden bool // contains filtered or unexported fields }
func (*BoolFlg) AdjustValue ¶ added in v0.0.34
func (*BoolFlg) GCommaSepVal ¶
func (*BoolFlg) GEnvVarExclude ¶
func (*BoolFlg) GShortName ¶
func (*BoolFlg) GVariableToString ¶
func (*BoolFlg) RequiredAndNotSet ¶
func (*BoolFlg) RetrieveConfigValue ¶
func (c *BoolFlg) RetrieveConfigValue(val *TomlWrapper, name string) error
func (*BoolFlg) RetrieveEnvValue ¶
func (*BoolFlg) SetDebugLevel ¶ added in v0.0.15
func (*BoolFlg) UnquotedUsage ¶
func (*BoolFlg) ValidValue ¶
func (*BoolFlg) ValueAsString ¶
type CLI ¶
type CLI struct { *AppInfo // Default Flags for Reference Only these are in Flgs for actual use DefFlags []CLIFlag // Flgs location to set all global flags Flgs []CLIFlag // Cmds global commands your application supports Cmds []*CLICommand // PostGlblAction runs an action after processing Global flags PostGlblAction interface{} // MainAction this is a default if no Command is specified when the application is run MainAction interface{} // BashCompletion typically set to the built in default of mycli.BashCompletionMain BashCompletion interface{} // VersionPrint an overridable function that prints by default the set Version, BuildDate, GitCommit, GoVersion VersionPrint interface{} Writer io.Writer // DisableEnvVars disable all environment variables DisableEnvVars bool // EnvPrefix a prefix you can define to use on Environment Variables for values used in the application default "T" EnvPrefix string // TestMode reserved for internal testing TestMode bool DisableFlagValidation bool ShowDuration bool // contains filtered or unexported fields }
CLI command line struct
func NewCli ¶
func NewCli(f FatalAdapter, u UsageAdapter) *CLI
NewCli creates an instance of the CLI application
func (*CLI) Command ¶
func (c *CLI) Command(name string) *CLICommand
func (*CLI) DebugLevel ¶ added in v0.0.25
func (*CLI) GetHttpProxy ¶ added in v0.0.25
func (*CLI) GetHttpsProxy ¶ added in v0.0.25
func (*CLI) GetNoProxy ¶ added in v0.0.25
func (*CLI) IsProxySet ¶ added in v0.0.25
func (*CLI) SetupEnvVars ¶
func (c *CLI) SetupEnvVars()
SetupEnvVars Loop through all Flags and Command Flags then set EnvVars based on Prefix and NAME or Override
func (*CLI) ValidateFlgKind ¶
ValidateFlgKind ensure these are of type pointer or nil otherwise error
func (*CLI) ValidateValues ¶
type CLICommand ¶
type CLICommand struct { // Name of the command and passed for use Name string // ShortName used for execution but provides a shorter name ShortName string // Usage definition of what this command accomplishes Usage string // Variable used to process a file full of configurations see custom/flgtoml.go as an example used with Hidden:true Variable interface{} // Value unused Value interface{} // PreAction perform some action prior to the Action defined PreAction interface{} // Action main action to perform for this Command Action interface{} // PostAction perform some action after the main Action PostAction interface{} // Flags are command flags local to this command Flags []CLIFlag // FS reserved for internal use FS *flag.FlagSet // BashCompletion should be set to mycli.BashCompletionSub for sub command completion BashCompletion interface{} // Hidden stops from showing in help Hidden bool // SubCommands ability to create sub commands of a top command SubCommands Commands // contains filtered or unexported fields }
func (*CLICommand) RetrieveConfigValue ¶
func (c *CLICommand) RetrieveConfigValue(val *TomlWrapper, name string) error
RetrieveConfigValue TODO Convert this section to a JSON string
type CLIFlag ¶
type CLIFlag interface { GAction() interface{} GEnvVar() string GEnvVarExclude() bool GHidden() bool GName() string GOptions() interface{} GRequired() bool GShortName() string GUsage() string GValue() interface{} GVariable() interface{} GVariableToString() string Kind() error RetrieveEnvValue() error RetrieveConfigValue(val *TomlWrapper, name string) error RequiredAndNotSet() bool SetDebug(bool) SetDebugLevel(int64) SetEnvVar(string) ValidValue() bool GCommaSepVal() bool ValueAsString() string GCommand(string) BuildFlag(*flag.FlagSet, map[string][]FieldPtr, map[string]interface{}) UnquotedUsage() string AdjustValue(cmd string, flgValues map[string]interface{}) }
type Commands ¶
type Commands []*CLICommand
type Fatal ¶
type Fatal struct {
// contains filtered or unexported fields
}
func (*Fatal) PrintNotice ¶
func (*Fatal) PrintNoticeSubCmd ¶
type FatalAdapter ¶
type Float64Flg ¶
type Float64Flg struct { Variable interface{} Name string ShortName string Usage string EnvVar string EnvVarExclude bool Value float64 CommaSepVal bool Required bool Action interface{} Options []float64 Hidden bool // contains filtered or unexported fields }
func (*Float64Flg) AdjustValue ¶ added in v0.0.34
func (c *Float64Flg) AdjustValue(cmd string, flgValues map[string]interface{})
func (*Float64Flg) GAction ¶
func (c *Float64Flg) GAction() interface{}
func (*Float64Flg) GCommaSepVal ¶
func (c *Float64Flg) GCommaSepVal() bool
func (*Float64Flg) GCommand ¶
func (c *Float64Flg) GCommand(cmd string)
func (*Float64Flg) GEnvVar ¶
func (c *Float64Flg) GEnvVar() string
func (*Float64Flg) GEnvVarExclude ¶
func (c *Float64Flg) GEnvVarExclude() bool
func (*Float64Flg) GHidden ¶
func (c *Float64Flg) GHidden() bool
func (*Float64Flg) GName ¶
func (c *Float64Flg) GName() string
func (*Float64Flg) GOptions ¶
func (c *Float64Flg) GOptions() interface{}
func (*Float64Flg) GRequired ¶
func (c *Float64Flg) GRequired() bool
func (*Float64Flg) GShortName ¶
func (c *Float64Flg) GShortName() string
func (*Float64Flg) GUsage ¶
func (c *Float64Flg) GUsage() string
func (*Float64Flg) GValue ¶
func (c *Float64Flg) GValue() interface{}
func (*Float64Flg) GVariable ¶
func (c *Float64Flg) GVariable() interface{}
func (*Float64Flg) GVariableToString ¶
func (c *Float64Flg) GVariableToString() string
func (*Float64Flg) Kind ¶
func (c *Float64Flg) Kind() error
Kind check if this is NOT of type pointer or Nil and return error
func (*Float64Flg) RequiredAndNotSet ¶
func (c *Float64Flg) RequiredAndNotSet() bool
func (*Float64Flg) RetrieveConfigValue ¶
func (c *Float64Flg) RetrieveConfigValue(val *TomlWrapper, name string) error
func (*Float64Flg) RetrieveEnvValue ¶
func (c *Float64Flg) RetrieveEnvValue() error
func (*Float64Flg) SetDebug ¶
func (c *Float64Flg) SetDebug(dbg bool)
func (*Float64Flg) SetDebugLevel ¶ added in v0.0.15
func (c *Float64Flg) SetDebugLevel(lvl int64)
func (*Float64Flg) SetEnvVar ¶
func (c *Float64Flg) SetEnvVar(envVar string)
func (*Float64Flg) UnquotedUsage ¶
func (c *Float64Flg) UnquotedUsage() string
func (*Float64Flg) ValidValue ¶
func (c *Float64Flg) ValidValue() bool
func (*Float64Flg) ValueAsString ¶
func (c *Float64Flg) ValueAsString() string
type Int64Flg ¶
type Int64Flg struct { Variable interface{} Name string ShortName string Usage string EnvVar string EnvVarExclude bool Value int64 CommaSepVal bool Required bool Action interface{} Options []int64 Hidden bool // contains filtered or unexported fields }
func (*Int64Flg) AdjustValue ¶ added in v0.0.34
func (*Int64Flg) GCommaSepVal ¶
func (*Int64Flg) GEnvVarExclude ¶
func (*Int64Flg) GShortName ¶
func (*Int64Flg) GVariableToString ¶
func (*Int64Flg) RequiredAndNotSet ¶
func (*Int64Flg) RetrieveConfigValue ¶
func (c *Int64Flg) RetrieveConfigValue(val *TomlWrapper, name string) error
func (*Int64Flg) RetrieveEnvValue ¶
func (*Int64Flg) SetDebugLevel ¶ added in v0.0.15
func (*Int64Flg) UnquotedUsage ¶
func (*Int64Flg) ValidValue ¶
func (*Int64Flg) ValueAsString ¶
type InvalidObjectError ¶
func (*InvalidObjectError) Error ¶
func (e *InvalidObjectError) Error() string
type InvalidValueError ¶
func (*InvalidValueError) Error ¶
func (e *InvalidValueError) Error() string
type StringFlg ¶
type StringFlg struct { Variable interface{} Name string ShortName string Usage string EnvVar string EnvVarExclude bool Value string CommaSepVal bool Required bool Action interface{} Options []string Hidden bool // contains filtered or unexported fields }
func (*StringFlg) AdjustValue ¶ added in v0.0.34
func (*StringFlg) GCommaSepVal ¶
func (*StringFlg) GEnvVarExclude ¶
func (*StringFlg) GShortName ¶
func (*StringFlg) GVariableToString ¶
func (*StringFlg) RequiredAndNotSet ¶
func (*StringFlg) RetrieveConfigValue ¶
func (c *StringFlg) RetrieveConfigValue(val *TomlWrapper, name string) error
func (*StringFlg) RetrieveEnvValue ¶
func (*StringFlg) SetDebugLevel ¶ added in v0.0.15
func (*StringFlg) UnquotedUsage ¶
func (*StringFlg) ValidValue ¶
func (*StringFlg) ValueAsString ¶
type StringList ¶
type StringList []string
func (*StringList) Set ¶
func (s *StringList) Set(value string) error
func (*StringList) UnquotedUsage ¶
func (c *StringList) UnquotedUsage() string
type TomlWrapper ¶ added in v0.0.27
type TomlWrapper struct {
Map map[string]interface{}
}
func Toml ¶ added in v0.0.27
func Toml() *TomlWrapper
func (*TomlWrapper) Get ¶ added in v0.0.27
func (t *TomlWrapper) Get(key string) interface{}
func (*TomlWrapper) GetPath ¶ added in v0.0.27
func (t *TomlWrapper) GetPath(keys []string) interface{}
func (*TomlWrapper) Has ¶ added in v0.0.27
func (t *TomlWrapper) Has(key string) bool
func (*TomlWrapper) HasPath ¶ added in v0.0.27
func (t *TomlWrapper) HasPath(keys []string) bool
func (*TomlWrapper) LoadToml ¶ added in v0.0.27
func (t *TomlWrapper) LoadToml(path string) error
type Uint64Flg ¶
type Uint64Flg struct { Variable interface{} Name string ShortName string Usage string EnvVar string EnvVarExclude bool Value uint64 CommaSepVal bool Required bool Action interface{} Options []uint64 Hidden bool // contains filtered or unexported fields }
func (*Uint64Flg) AdjustValue ¶ added in v0.0.34
func (*Uint64Flg) GCommaSepVal ¶
func (*Uint64Flg) GEnvVarExclude ¶
func (*Uint64Flg) GShortName ¶
func (*Uint64Flg) GVariableToString ¶
func (*Uint64Flg) RequiredAndNotSet ¶
func (*Uint64Flg) RetrieveConfigValue ¶
func (c *Uint64Flg) RetrieveConfigValue(val *TomlWrapper, name string) error
func (*Uint64Flg) RetrieveEnvValue ¶
func (*Uint64Flg) SetDebugLevel ¶ added in v0.0.15
func (*Uint64Flg) UnquotedUsage ¶
func (*Uint64Flg) ValidValue ¶
func (*Uint64Flg) ValueAsString ¶
type UsageAdapter ¶
type UsageAdapter interface {
UsageText(*CLICommand)
}
type UsageDisplay ¶
type UsageDisplay struct {
// contains filtered or unexported fields
}
func (*UsageDisplay) UsageText ¶
func (u *UsageDisplay) UsageText(cmd *CLICommand)
type VarFlg ¶
type VarFlg struct { Variable interface{} Name string ShortName string Usage string EnvVar string EnvVarExclude bool Value StringList CommaSepVal bool Required bool Action interface{} Options []StringList Hidden bool // contains filtered or unexported fields }
func (*VarFlg) AdjustValue ¶ added in v0.0.34
func (*VarFlg) GCommaSepVal ¶
func (*VarFlg) GEnvVarExclude ¶
func (*VarFlg) GShortName ¶
func (*VarFlg) GVariableToString ¶
func (*VarFlg) RequiredAndNotSet ¶
func (*VarFlg) RetrieveConfigValue ¶
func (c *VarFlg) RetrieveConfigValue(val *TomlWrapper, name string) error
func (*VarFlg) RetrieveConfigValueOrig ¶ added in v0.0.40
func (*VarFlg) RetrieveEnvValue ¶
func (*VarFlg) SetDebugLevel ¶ added in v0.0.15
func (*VarFlg) UnquotedUsage ¶
func (*VarFlg) ValidValue ¶
func (*VarFlg) ValueAsString ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.