(cliConnection plugin.CliConnection, args []string)
| 16 | type Test2 struct{} |
| 17 | |
| 18 | func (c *Test2) Run(cliConnection plugin.CliConnection, args []string) { |
| 19 | if args[0] == "test_2_cmd1" { |
| 20 | theFirstCmd() |
| 21 | } else if args[0] == "test_2_cmd2" { |
| 22 | theSecondCmd() |
| 23 | } else if args[0] == "CLI-MESSAGE-UNINSTALL" { |
| 24 | uninstall(cliConnection) |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | func (c *Test2) GetMetadata() plugin.PluginMetadata { |
| 29 | return plugin.PluginMetadata{ |
nothing calls this directly
no test coverage detected