feat(cli): use commandline object all the way

This commit is contained in:
bergquist
2016-03-08 14:54:18 +01:00
parent da2b65cd7c
commit 95f3e52064
3 changed files with 7 additions and 6 deletions
@@ -54,7 +54,7 @@ func upgradeAllCommand(c CommandLine) error {
log.Infof("Upgrading %v \n", p.Id)
s.RemoveInstalledPlugin(pluginDir, p.Id)
InstallPlugin(p.Id, pluginDir, "", c.GlobalString("repo"))
InstallPlugin(p.Id, "", c)
}
return nil