Method
Setup
(config command.Config, ui command.UI)
Source from the content-addressed store, hash-verified
| 29 | } |
| 30 | |
| 31 | func (cmd *PluginsCommand) Setup(config command.Config, ui command.UI) error { |
| 32 | cmd.UI = ui |
| 33 | cmd.Config = config |
| 34 | pluginClient := shared.NewClient(config, ui, cmd.SkipSSLValidation) |
| 35 | cmd.Actor = pluginaction.NewActor(config, pluginClient) |
| 36 | return nil |
| 37 | } |
| 38 | |
| 39 | func (cmd PluginsCommand) Execute([]string) error { |
| 40 | switch { |
Callers
nothing calls this directly
Tested by
no test coverage detected