MCPcopy
hub / github.com/cloudfoundry/cli / AddPluginRepoCommand

Struct AddPluginRepoCommand

command/plugin/add_plugin_repo_command.go:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17type AddPluginRepoCommand struct {
18 RequiredArgs flag.AddPluginRepoArgs `positional-args:"yes"`
19 usage interface{} `usage:"CF_NAME add-plugin-repo REPO_NAME URL\n\nEXAMPLES:\n CF_NAME add-plugin-repo ExampleRepo https://example.com/repo"`
20 relatedCommands interface{} `related_commands:"install-plugin, list-plugin-repos"`
21 SkipSSLValidation bool `short:"k" hidden:"true" description:"Skip SSL certificate validation"`
22 UI command.UI
23 Config command.Config
24 Actor AddPluginRepoActor
25}
26
27func (cmd *AddPluginRepoCommand) Setup(config command.Config, ui command.UI) error {
28 cmd.UI = ui

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected