Documentation
¶
Index ¶
- func Usage() error
- type Arg
- type Args
- type Bool
- type CLI
- func (c *CLI) Arg(name string) *Arg
- func (c *CLI) Args(name string) *Args
- func (c *CLI) Command(name, usage string) *Command
- func (c *CLI) Flag(name, usage string) *Flag
- func (c *CLI) Parse(ctx context.Context, args []string) error
- func (c *CLI) Run(runner func(ctx context.Context) error)
- func (c *CLI) Template(template *template.Template)
- func (c *CLI) Trap(signals ...os.Signal)
- func (c *CLI) Version(version string) *CLI
- func (c *CLI) Writer(writer io.Writer) *CLI
- type Command
- type Flag
- type Int
- type String
- type StringMap
- type Strings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.