Documentation ¶
Index ¶
- func Attach(app *cli.App, commands ...basicFunction)
- type Basic
- type BeforeHandler
- type Command
- type FlagHandler
- type Linker
- type Option
- type UnimplementedBasic
- func (UnimplementedBasic) Base() (*cli.Command, []Option)
- func (UnimplementedBasic) Checkout() Command
- func (UnimplementedBasic) Clone() Command
- func (UnimplementedBasic) Delete() Command
- func (UnimplementedBasic) Edit() Command
- func (UnimplementedBasic) Import() Command
- func (UnimplementedBasic) List() Command
- func (UnimplementedBasic) New() Command
- func (UnimplementedBasic) Pull() Command
- func (UnimplementedBasic) Push() Command
- func (UnimplementedBasic) Query() Command
- func (UnimplementedBasic) Select() Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Basic ¶
type Basic interface { New() Command Edit() Command Delete() Command Query() Command List() Command Select() Command Clone() Command Push() Command Pull() Command Checkout() Command Import() Command // Sets the following in the command if not already set: // Name // Aliases // Also runs the options provided Base() (*cli.Command, []Option) }
type BeforeHandler ¶
type BeforeHandler interface { Shift(method cli.BeforeFunc) Push(method cli.BeforeFunc) }
type Command ¶
type FlagHandler ¶
type FlagHandler interface { Shift(flags ...cli.Flag) Push(flags ...cli.Flag) }
type Linker ¶
type Linker interface { Command Before() BeforeHandler Flags() FlagHandler }
type UnimplementedBasic ¶ added in v0.1.9
type UnimplementedBasic struct{}
func (UnimplementedBasic) Base ¶ added in v0.1.9
func (UnimplementedBasic) Base() (*cli.Command, []Option)
func (UnimplementedBasic) Checkout ¶ added in v0.1.9
func (UnimplementedBasic) Checkout() Command
func (UnimplementedBasic) Clone ¶ added in v0.1.9
func (UnimplementedBasic) Clone() Command
func (UnimplementedBasic) Delete ¶ added in v0.1.9
func (UnimplementedBasic) Delete() Command
func (UnimplementedBasic) Edit ¶ added in v0.1.9
func (UnimplementedBasic) Edit() Command
func (UnimplementedBasic) Import ¶ added in v0.1.9
func (UnimplementedBasic) Import() Command
func (UnimplementedBasic) List ¶ added in v0.1.9
func (UnimplementedBasic) List() Command
func (UnimplementedBasic) New ¶ added in v0.1.9
func (UnimplementedBasic) New() Command
func (UnimplementedBasic) Pull ¶ added in v0.1.9
func (UnimplementedBasic) Pull() Command
func (UnimplementedBasic) Push ¶ added in v0.1.9
func (UnimplementedBasic) Push() Command
func (UnimplementedBasic) Query ¶ added in v0.1.9
func (UnimplementedBasic) Query() Command
func (UnimplementedBasic) Select ¶ added in v0.1.9
func (UnimplementedBasic) Select() Command
Source Files ¶
Click to show internal directories.
Click to hide internal directories.