add browse command and implement -b option for most operations

This commit is contained in:
Cory Bennett
2017-08-20 23:19:43 -05:00
parent f32cc7079c
commit a91b9d56b0
95 changed files with 599 additions and 9853 deletions
+5 -4
View File
@@ -249,6 +249,11 @@ func main() {
Command: "unexport-templates",
Entry: cli.CmdUnexportTemplatesRegistry(),
},
jiracli.CommandRegistry{
Command: "browse",
Entry: cli.CmdBrowseRegistry(),
Aliases: []string{"b"},
},
}
cli.Register(app, registry)
@@ -462,10 +467,6 @@ func main() {
// var err error
// switch command {
// case "browse":
// requireArgs(1)
// opts["browse"] = true
// err = c.Browse(args[0])
// case "request":
// requireArgs(1)
// data := ""