| 18 | } |
| 19 | |
| 20 | type PluginsCommand struct { |
| 21 | Checksum bool `long:"checksum" description:"Compute and show the sha1 value of the plugin binary file"` |
| 22 | Outdated bool `long:"outdated" description:"Search the plugin repositories for new versions of installed plugins"` |
| 23 | usage interface{} `usage:"CF_NAME plugins [--checksum | --outdated]"` |
| 24 | relatedCommands interface{} `related_commands:"install-plugin, repo-plugins, uninstall-plugin"` |
| 25 | SkipSSLValidation bool `short:"k" hidden:"true" description:"Skip SSL certificate validation"` |
| 26 | UI command.UI |
| 27 | Config command.Config |
| 28 | Actor PluginsActor |
| 29 | } |
| 30 | |
| 31 | func (cmd *PluginsCommand) Setup(config command.Config, ui command.UI) error { |
| 32 | cmd.UI = ui |
nothing calls this directly
no outgoing calls
no test coverage detected