Skip to content

Commit

Permalink
Add password flag registration as global option [ref #13]
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleiade committed Nov 24, 2013
1 parent efc0dd8 commit 067795a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions trousseau/trousseau.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@ func main() {
trousseau.MetaCommand(),
}

// Application global options
app.Flags = []cli.Flag{
trousseau.PasswordFlag(),
}

app.Run(os.Args)
}

0 comments on commit 067795a

Please sign in to comment.