feat(cli): make repo url a parameter

this is a quick hack to support repo url as parameter. Will refactor
later
This commit is contained in:
bergquist
2016-03-07 13:27:51 +01:00
parent 3d2d8f2d86
commit f6c5242a93
6 changed files with 20 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ import (
)
func listremoteCommand(c CommandLine) error {
plugin, err := s.ListAllPlugins()
plugin, err := s.ListAllPlugins(c.GlobalString("repo"))
if err != nil {
return err