Versions in this module Expand all Collapse all v0 v0.1.0 Aug 23, 2022 Changes in this version + type Config struct + CLI cli.FlagSet + DecodeFile func(dst interface{}, src *os.File) error + Env env.FlagSet + type ConfigState struct + func New(cfg Config) *ConfigState[Values] + func (st *ConfigState[Values]) CLI() *cli.FlagSet + func (st *ConfigState[Values]) Config(fn func(*Values)) + func (st *ConfigState[Values]) Env() *env.FlagSet + func (st *ConfigState[Values]) ParseCLI(args []string) (unknown []string, err error) + func (st *ConfigState[Values]) ParseCLIStrict(args []string) error + func (st *ConfigState[Values]) ParseEnv(env []string) error + func (st *ConfigState[Values]) ReadFile(path string) error