Documentation ¶ Index ¶ func CreateFlagSet(command string, flagConfigs map[string]Flag) (*flag.FlagSet, map[string]*string) func ExecuteSubcommand(command string, flags map[string]*string) error func HandleSubcommand(subcommands map[string]map[string]Flag, ...) error type Flag Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateFlagSet ¶ func CreateFlagSet(command string, flagConfigs map[string]Flag) (*flag.FlagSet, map[string]*string) func ExecuteSubcommand ¶ func ExecuteSubcommand(command string, flags map[string]*string) error func HandleSubcommand ¶ func HandleSubcommand(subcommands map[string]map[string]Flag, handlers map[string]func(map[string]*string) error) error HandleSubcommand processes subcommands with proper flag isolation Types ¶ type Flag ¶ type Flag struct { DefaultValue string Description string IsBool bool } Source Files ¶ View all Source files cmdwrapper.go Click to show internal directories. Click to hide internal directories.