diff --git a/cmd_generate.go b/cmd_generate.go index cb3c7bf..0ece532 100644 --- a/cmd_generate.go +++ b/cmd_generate.go @@ -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 {