github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/command/plugin/remove_plugin_repo_command.go (about) 1 package plugin 2 3 import ( 4 "os" 5 6 "code.cloudfoundry.org/cli/cf/cmd" 7 "code.cloudfoundry.org/cli/command" 8 "code.cloudfoundry.org/cli/command/flag" 9 ) 10 11 type RemovePluginRepoCommand struct { 12 RequiredArgs flag.PluginRepoName `positional-args:"yes"` 13 usage interface{} `usage:"CF_NAME remove-plugin-repo REPO_NAME\n\nEXAMPLES:\n CF_NAME remove-plugin-repo PrivateRepo"` 14 relatedCommands interface{} `related_commands:"list-plugin-repos"` 15 } 16 17 func (RemovePluginRepoCommand) Setup(config command.Config, ui command.UI) error { 18 return nil 19 } 20 21 func (RemovePluginRepoCommand) Execute(args []string) error { 22 cmd.Main(os.Getenv("CF_TRACE"), os.Args) 23 return nil 24 }