Versions in this module Expand all Collapse all v1 v1.6.0 Jan 22, 2024 v1.5.0 Jan 22, 2024 Changes in this version + const DefaultListFormat + const DefaultTableFormat + var ErrInvalidSpecification = errors.New("specification must be a struct pointer") + func CheckDisallowed(prefix string, spec interface{}) error + func MustProcess(prefix string, spec interface{}) + func Usage(prefix string, spec interface{}) error + func Usagef(prefix string, spec interface{}, out io.Writer, format string) error + func Usaget(prefix string, spec interface{}, out io.Writer, tmpl *template.Template) error + type Decoder interface + Decode func(value string) error + type ParseError struct + Err error + FieldName string + KeyName string + TypeName string + Value string + func (e *ParseError) Error() string + type ProcessInfo struct + Current string + Default string + IsDefault bool + type ProcessInfos map[string]ProcessInfo + func Process(prefix string, spec interface{}) (ProcessInfos, error) + func (pi ProcessInfos) String() string + type Setter interface + Set func(value string) error