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