| 15 | } |
| 16 | |
| 17 | type 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 | |
| 27 | func (cmd *AddPluginRepoCommand) Setup(config command.Config, ui command.UI) error { |
| 28 | cmd.UI = ui |
nothing calls this directly
no outgoing calls
no test coverage detected