Commit 77f93886 by bergquist

fix(cli): add latest version to list-remote command

closes #4205
parent f78f7d6b
......@@ -13,7 +13,12 @@ func listremoteCommand(c CommandLine) error {
}
for _, i := range plugin.Plugins {
log.Infof("id: %v version:\n", i.Id)
pluginVersion := ""
if len(i.Versions) > 0 {
pluginVersion = i.Versions[0].Version
}
log.Infof("id: %v version: %s\n", i.Id, pluginVersion)
}
return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment