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 ¶ added in v1.10.2
OptionBool provides a mock function with given fields: key
func (*Context) OptionFloat64 ¶ added in v1.10.2
OptionFloat64 provides a mock function with given fields: key
func (*Context) OptionFloat64Slice ¶ added in v1.10.2
OptionFloat64Slice provides a mock function with given fields: key
func (*Context) OptionInt ¶ added in v1.10.2
OptionInt provides a mock function with given fields: key
func (*Context) OptionInt64 ¶ added in v1.10.2
OptionInt64 provides a mock function with given fields: key
func (*Context) OptionInt64Slice ¶ added in v1.10.2
OptionInt64Slice provides a mock function with given fields: key
func (*Context) OptionIntSlice ¶ added in v1.10.2
OptionIntSlice provides a mock function with given fields: key
func (*Context) OptionSlice ¶ added in v1.10.2
OptionSlice provides a mock function with given fields: key