(command, description string, fn HandlerFunc, opts stdcli.CommandOptions)
| 19 | } |
| 20 | |
| 21 | func (e *Engine) CommandWithoutProvider(command, description string, fn HandlerFunc, opts stdcli.CommandOptions) { |
| 22 | wfn := func(c *stdcli.Context) error { |
| 23 | return fn(nil, c) |
| 24 | } |
| 25 | |
| 26 | e.Engine.Command(command, description, wfn, opts) |
| 27 | } |
| 28 | |
| 29 | func (e *Engine) RegisterCommands() { |
| 30 | for _, c := range commands { |
no test coverage detected