GetMetadata returns the metadata of this plugin
()
| 59 | |
| 60 | // GetMetadata returns the metadata of this plugin |
| 61 | func (p *MultiappsPlugin) GetMetadata() plugin.PluginMetadata { |
| 62 | metadata := plugin.PluginMetadata{ |
| 63 | Name: "multiapps", |
| 64 | Version: parseSemver(Version), |
| 65 | MinCliVersion: plugin.VersionType{Major: 6, Minor: 7, Build: 0}, |
| 66 | } |
| 67 | for _, command := range Commands { |
| 68 | metadata.Commands = append(metadata.Commands, command.GetPluginCommand()) |
| 69 | } |
| 70 | return metadata |
| 71 | } |
| 72 | |
| 73 | func main() { |
| 74 | plugin.Start(new(MultiappsPlugin)) |
nothing calls this directly
no test coverage detected