Versions in this module Expand all Collapse all v0 v0.2.3 Mar 19, 2026 Changes in this version + func Execute(cmd *Command) error + func PrintHelp(w io.Writer, cmd *Command) error + type Command struct + AllowArg bool + Configuration interface{} + CustomHelpFunc func(io.Writer, *Command) error + Description string + Hidden bool + Name string + Resources []ResourceLoader + Run func([]string) error + func (c *Command) AddCommand(cmd *Command) error + func (c *Command) PrintHelp(w io.Writer) error + type EnvLoader struct + Prefix string + func (e *EnvLoader) Load(_ []string, cmd *Command) (bool, error) + type FileLoader struct + BasePaths []string + ConfigFileFlag string + Extensions []string + func (f *FileLoader) GetFilename() string + func (f *FileLoader) Load(args []string, cmd *Command) (bool, error) + type Finder struct + BasePaths []string + Extensions []string + func (f Finder) Find(configFile string) (string, error) + type FlagLoader struct + func (*FlagLoader) Load(args []string, cmd *Command) (bool, error) + type ResourceLoader interface + Load func(args []string, cmd *Command) (bool, error)