Versions in this module Expand all Collapse all v1 v1.19.0 Nov 6, 2024 Changes in this version + func AddFlags(fs *pflag.FlagSet) + func ConfigVar(p *ConfigValue, name string, value ConfigValue, usage string) + func PrintDefaultConfigAndExitIfRequested(config interface{}) + func PrintFlags(flags *pflag.FlagSet) + func PrintMinConfigAndExitIfRequested(config interface{}) + type ConfigValue int + const ConfigFalse + const ConfigTrue + func Config(name string, value ConfigValue, usage string) *ConfigValue + func (m *ConfigValue) Get() interface{} + func (m *ConfigValue) IsBoolFlag() bool + func (m *ConfigValue) Set(s string) error + func (m *ConfigValue) String() string + func (m *ConfigValue) Type() string