Skip to content

Commit

Permalink
add help flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sklevenz committed May 19, 2019
1 parent dadb952 commit bb372e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraformer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var (
func main() {
app := kingpin.New("terraformer", "A go program that generates terraform files using go templates")
app.Version(printVersion()).Author("Stephan Klevenz")
app.HelpFlag.Short('h')

commandGenerate := app.Command("generate", "generate a terraform file (main.tf), alias=gen").Alias("gen")
templateFile := commandGenerate.Arg("terraform-template", "path to a go template file").Required().ExistingFile()
Expand Down

0 comments on commit bb372e2

Please sign in to comment.