refactor to allow for --insecure and --unixproxy arguments

This commit is contained in:
Cory Bennett
2017-09-04 17:53:01 -07:00
parent 21920c5888
commit c0358eb67c
38 changed files with 146 additions and 120 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ import (
"path"
"github.com/coryb/figtree"
"github.com/coryb/oreo"
"gopkg.in/Netflix-Skunkworks/go-jira.v1/jiracli"
kingpin "gopkg.in/alecthomas/kingpin.v2"
)
@@ -27,7 +28,7 @@ func CmdExportTemplatesRegistry() *jiracli.CommandRegistryEntry {
}
return CmdExportTemplatesUsage(cmd, &opts)
},
func(globals *jiracli.GlobalOptions) error {
func(o *oreo.Client, globals *jiracli.GlobalOptions) error {
return CmdExportTemplates(&opts)
},
}