Method
SetDependency
(deps commandregistry.Dependency, pluginCall bool)
Source from the content-addressed store, hash-verified
| 36 | } |
| 37 | |
| 38 | func (cmd FakeCommand2) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 39 | cmd.req.ui = deps.UI |
| 40 | cmd.ui = deps.UI |
| 41 | cmd.ui.Say("SetDependency() called, pluginCall " + fmt.Sprintf("%t", pluginCall)) |
| 42 | |
| 43 | return cmd |
| 44 | } |
| 45 | |
| 46 | func (cmd FakeCommand2) Execute(c flags.FlagContext) error { |
| 47 | cmd.ui.Say("Command Executed") |
Callers
nothing calls this directly
Tested by
no test coverage detected