([]string)
| 37 | } |
| 38 | |
| 39 | func (cmd PluginsCommand) Execute([]string) error { |
| 40 | switch { |
| 41 | case cmd.Outdated: |
| 42 | return cmd.displayOutdatedPlugins() |
| 43 | case cmd.Checksum: |
| 44 | return cmd.displayPluginChecksums(cmd.Config.Plugins()) |
| 45 | default: |
| 46 | return cmd.displayPluginCommands(cmd.Config.Plugins()) |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | func (cmd PluginsCommand) displayPluginChecksums(plugins []configv3.Plugin) error { |
| 51 | cmd.UI.DisplayText("Computing sha1 for installed plugins, this may take a while...") |
nothing calls this directly
no test coverage detected