Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶ added in v0.3.0
type App struct { // String to use as prefix for environment variables parsing EnvPrefix string // String to replace for environment variables parsing EnvReplaceFrom string // String to replace to for environment variables parsing EnvReplaceTo string // contains filtered or unexported fields }
func (*App) AddCommands ¶ added in v0.5.0
func (*App) NewCommand ¶ added in v0.8.0
func (a *App) NewCommand(name, description string, executer ExecuterFunc, aliases ...string) error
type Command ¶ added in v0.2.0
type Command struct { // flag.FlagSet Name string Aliases []string Description string // Subcommands []Command Executer ExecuterFunc }
func NewCommand ¶ added in v0.5.0
func ParseCommand ¶ added in v0.2.0
type ExecuterFunc ¶ added in v0.7.0
type ExecuterFunc func() error
Click to show internal directories.
Click to hide internal directories.