Skip to content

Commit

Permalink
Example command line params
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Haska committed Oct 2, 2024
1 parent b170da2 commit f52423e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ func generate(gen generator.Generator) error {
return gen.Generate(input)
}

// command line params working example
// -flag_manifest_path "sample/golang/golang_sample.json" -output_path "sample/golang/golang_sample.go"
func main() {
flag.Parse()
_, filename := path.Split(*outputPath)
Expand Down

0 comments on commit f52423e

Please sign in to comment.