Versions in this module Expand all Collapse all v0 v0.2.0 Mar 13, 2026 Changes in this version + func BindCommand(command *cli.Command, configPointer any, opts ...Option) error + func LoadAndValidateArgs(configPointer any, programName string, args []string, opts ...Option) error + func MustLoadAndValidateArgs(configPointer any, programName string, args []string, opts ...Option) + func NewCommand(configPointer any, commandName string, action cli.ActionFunc, opts ...Option) (*cli.Command, error) v0.1.0 Jan 2, 2026 Changes in this version + func LoadAndValidate(configPointer any, programName string, opts ...Option) error + func MarshalAsMap(configPointer any) (map[string]any, error) + func MarshalAsSlogDict(configPointer any, groupName string) (slog.Attr, error) + func MustLoadAndValidate(configPointer any, programName string, opts ...Option) + func NewMapSource(name string, m map[any]any) cli.MapSource + func NewTomlFileSource(name string, file string) (cli.MapSource, error) + func NewValueSourceFromMaps(key string, sources ...cli.MapSource) cli.ValueSource + type Option func(opts *options) + func WithDefaultLoadConfigFlag() Option + func WithDescription(description string) Option + func WithLoadConfigFlag(flagName string) Option + func WithLongDescription(usage string) Option + func WithShellCompletions() Option + func WithVersion(version string) Option + type StructReflector interface + Apply func(*cli.Command) + Flags func() []cli.Flag + func NewStructConfigurator(anyStruct any, tomlSources []cli.MapSource) (StructReflector, error)