MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Setup

Method Setup

command/plugin/plugins_command.go:31–37  ·  view source on GitHub ↗
(config command.Config, ui command.UI)

Source from the content-addressed store, hash-verified

29}
30
31func (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
39func (cmd PluginsCommand) Execute([]string) error {
40 switch {

Callers

nothing calls this directly

Calls 2

NewClientFunction · 0.92
NewActorFunction · 0.92

Tested by

no test coverage detected