Skip to content

Commit

Permalink
feat: add "schema" option to cli service generator
Browse files Browse the repository at this point in the history
  • Loading branch information
pdfowler committed Aug 18, 2023
1 parent 453268c commit b06d294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ generate
.option('--auth <authentication>', 'does the service require authentication? (y, n)', (value) =>
!value ? undefined : /^(y|true|1)/i.test(value)
)
.option('--schema <schema>', 'The schema type (typebox, json, false)', (value: string, previous: T) =>
.option('--schema <schema>', 'The schema type (typebox, json, false)', (value: string) =>
/false|none|0/i.test(value) ? false : value
)
.option('--singular', 'Do not pluralize the service name')
Expand Down

0 comments on commit b06d294

Please sign in to comment.