feat(cli): use commandline object all the way
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user