Skip to content

Commit

Permalink
feat(defaults): Correcting the defaults (#40)
Browse files Browse the repository at this point in the history
Correcting the defaults
  • Loading branch information
Jacobbrewer1 authored Nov 2, 2024
1 parent a79144f commit 604a3e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd_generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ func (g *generateCmd) Usage() string {
func (g *generateCmd) SetFlags(f *flag.FlagSet) {
f.StringVar(&g.templatesLocation, "templates", "./templates/*.tmpl", "The location of the templates to use.")
f.StringVar(&g.outputLocation, "out", ".", "The location to write the generated files to.")
f.StringVar(&g.sqlLocation, "sql", "./pkg/models/*.sql", "The location of the SQL files to use.")
f.StringVar(&g.fileExtensionPrefix, "extension", "", "The prefix to add to the generated file extension.")
f.StringVar(&g.sqlLocation, "sql", "./schemas/*.sql", "The location of the SQL files to use.")
f.StringVar(&g.fileExtensionPrefix, "extension", "xo", "The prefix to add to the generated file extension.")
}

func (g *generateCmd) Execute(_ context.Context, _ *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus {
Expand Down

0 comments on commit 604a3e5

Please sign in to comment.