Documentation
¶
Index ¶
- type Application
- type Command
- type CommandHandler
- type Context
- type Flag
- type FlagBool
- type FlagDuration
- type FlagFloat64
- type FlagFloat64Slice
- type FlagGeneric
- type FlagInt
- type FlagInt64
- type FlagInt64Slice
- type FlagIntSlice
- type FlagPath
- type FlagString
- type FlagStringSlice
- type FlagTimestamp
- type FlagUint
- type FlagUint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
cli.App
}
var App Application
func (*Application) Action ¶
func (a *Application) Action(f CommandHandler)
func (*Application) After ¶
func (a *Application) After(f CommandHandler)
func (*Application) Before ¶
func (a *Application) Before(f CommandHandler)
func (*Application) Command ¶
func (a *Application) Command(name, usage string, f CommandHandler) *Command
type Command ¶
type Command struct {
*cli.Command
}
func (*Command) Action ¶
func (c *Command) Action(f CommandHandler)
func (*Command) After ¶
func (c *Command) After(f CommandHandler)
func (*Command) Before ¶
func (c *Command) Before(f CommandHandler)
type CommandHandler ¶
type FlagDuration ¶
type FlagDuration = cli.DurationFlag
type FlagFloat64 ¶
type FlagFloat64 = cli.Float64Flag
type FlagFloat64Slice ¶
type FlagFloat64Slice = cli.Float64SliceFlag
type FlagGeneric ¶
type FlagGeneric = cli.GenericFlag
type FlagInt64Slice ¶
type FlagInt64Slice = cli.Int64SliceFlag
type FlagIntSlice ¶
type FlagIntSlice = cli.IntSliceFlag
type FlagString ¶
type FlagString = cli.StringFlag
type FlagStringSlice ¶
type FlagStringSlice = cli.StringSliceFlag
type FlagTimestamp ¶
type FlagTimestamp = cli.TimestampFlag
type FlagUint64 ¶
type FlagUint64 = cli.Uint64Flag
Click to show internal directories.
Click to hide internal directories.