(config command.Config, ui command.UI)
| 65 | } |
| 66 | |
| 67 | func (cmd *InstallPluginCommand) Setup(config command.Config, ui command.UI) error { |
| 68 | cmd.UI = ui |
| 69 | cmd.Config = config |
| 70 | cmd.Actor = pluginaction.NewActor(config, shared.NewClient(config, ui, cmd.SkipSSLValidation)) |
| 71 | |
| 72 | cmd.ProgressBar = shared.NewProgressBarProxyReader(cmd.UI.Writer()) |
| 73 | |
| 74 | return nil |
| 75 | } |
| 76 | |
| 77 | func (cmd InstallPluginCommand) Execute([]string) (err error) { |
| 78 | log.WithField("PluginHome", cmd.Config.PluginHome()).Info("making plugin dir") |
nothing calls this directly
no test coverage detected