Versions in this module Expand all Collapse all v0 v0.1.0 Sep 29, 2020 Changes in this version + const ErrConfigNotSupportedProtocol + func ViperAddArgument(cmd *cobra.Command, a Argument) error + func ViperAddArguments(cmd *cobra.Command, aList []Argument) error + func ViperConfig(configName string) error + type ArgError struct + Err error + func (a *ArgError) Unwrap() error + func (a ArgError) Error() string + func (a ArgError) Key() string + func (a ArgError) Value() interface{} + type ArgType string + const ArgTypeBool + const ArgTypeBoolSlice + const ArgTypeFloat + const ArgTypeFloatSlice + const ArgTypeInt + const ArgTypeIntSlice + const ArgTypeString + const ArgTypeStringSlice + type Argument struct + Default interface{} + Description string + LookupKey string + Name string + Persistent bool + Shorthand string + Type ArgType + type Config struct + EnvPrefix string + Name string + Paths []string + type ConfigError struct + Err error + func (c *ConfigError) Unwrap() error + func (c ConfigError) Error() string + func (c ConfigError) Path() string