Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidNumOfParams = errors.New("invalid number of params provided")
ErrInvalidNumOfParams returned when the number of params provided doesn't match the command
Functions ¶
func WithParams ¶
func WithParams(params []Parameter) cmdOpt
WithParams used to pass the params to the Command. Returns an error if the param is not found.
Types ¶
Click to show internal directories.
Click to hide internal directories.