Documentation
¶
Index ¶
- type CLI
- func (c *CLI) AddBoolVar(name string, usage string) *bool
- func (c *CLI) AddDurationVar(name, defValue string, usage string, opts *FlagOptions) *time.Duration
- func (c *CLI) AddIntVar(name string, defValue int, usage string, opts *FlagOptions) *int
- func (c *CLI) AddStringVar(name, defValue string, usage string, opts *FlagOptions) *string
- func (c *CLI) AddUintVar(name string, defValue uint, usage string, opts *FlagOptions) *uint
- func (c *CLI) Parse()
- type FlagOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
func (*CLI) AddDurationVar ¶
func (*CLI) AddStringVar ¶
func (c *CLI) AddStringVar(name, defValue string, usage string, opts *FlagOptions) *string
func (*CLI) AddUintVar ¶
Click to show internal directories.
Click to hide internal directories.