tech(cli): lets use the fact that we have a compiler
This commit is contained in:
@@ -93,3 +93,11 @@ func (fcli *FakeCommandLine) Args() cli.Args {
|
||||
func (fcli *FakeCommandLine) ShowVersion() {
|
||||
fcli.VersionShown = true
|
||||
}
|
||||
|
||||
func (fcli *FakeCommandLine) RepoDirectory() string {
|
||||
return fcli.GlobalString("repo")
|
||||
}
|
||||
|
||||
func (fcli *FakeCommandLine) PluginDirectory() string {
|
||||
return fcli.GlobalString("pluginsDir")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user