Documentation ¶
Index ¶
- type Artisan
- type Context
- func (_m *Context) Argument(index int) string
- func (_m *Context) Arguments() []string
- func (_m *Context) Option(key string) string
- func (_m *Context) OptionBool(key string) bool
- func (_m *Context) OptionFloat64(key string) float64
- func (_m *Context) OptionFloat64Slice(key string) []float64
- func (_m *Context) OptionInt(key string) int
- func (_m *Context) OptionInt64(key string) int64
- func (_m *Context) OptionInt64Slice(key string) []int64
- func (_m *Context) OptionIntSlice(key string) []int
- func (_m *Context) OptionSlice(key string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artisan ¶
Artisan is an autogenerated mock type for the Artisan type
func NewArtisan ¶
func NewArtisan(t mockConstructorTestingTNewArtisan) *Artisan
NewArtisan creates a new instance of Artisan. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Artisan) CallAndExit ¶
CallAndExit provides a mock function with given fields: command
type Context ¶
Context is an autogenerated mock type for the Context type
func NewContext ¶
func NewContext(t mockConstructorTestingTNewContext) *Context
NewContext creates a new instance of Context. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Context) OptionBool ¶
OptionBool provides a mock function with given fields: key
func (*Context) OptionFloat64 ¶
OptionFloat64 provides a mock function with given fields: key
func (*Context) OptionFloat64Slice ¶
OptionFloat64Slice provides a mock function with given fields: key
func (*Context) OptionInt64 ¶
OptionInt64 provides a mock function with given fields: key
func (*Context) OptionInt64Slice ¶
OptionInt64Slice provides a mock function with given fields: key
func (*Context) OptionIntSlice ¶
OptionIntSlice provides a mock function with given fields: key
func (*Context) OptionSlice ¶
OptionSlice provides a mock function with given fields: key