Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Name string Aliases []string Usage string FlagSet *flag.FlagSet SubCommands []*Command Exec func(ctx context.Context, args []string) error }
Command represents a single command in the CLI.
func (*Command) ParseAndExec ¶
ParseAndExec parses the given arguments and executes the appropriate command.
Click to show internal directories.
Click to hide internal directories.