mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 20:23:28 +02:00
@@ -103,6 +103,7 @@ Commands:
|
|||||||
|
|
||||||
func CommandLine(fig *figtree.FigTree, o *oreo.Client) *kingpin.Application {
|
func CommandLine(fig *figtree.FigTree, o *oreo.Client) *kingpin.Application {
|
||||||
app := kingpin.New("jira", "Jira Command Line Interface")
|
app := kingpin.New("jira", "Jira Command Line Interface")
|
||||||
|
app.HelpFlag.Short('h')
|
||||||
app.UsageWriter(os.Stdout)
|
app.UsageWriter(os.Stdout)
|
||||||
app.ErrorWriter(os.Stderr)
|
app.ErrorWriter(os.Stderr)
|
||||||
app.Command("version", "Prints version").PreAction(func(*kingpin.ParseContext) error {
|
app.Command("version", "Prints version").PreAction(func(*kingpin.ParseContext) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user