Skip to content

Commit

Permalink
docs(cli): add --generator option to the help hint (#18592)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Orlenko <alex@aqrln.net>
  • Loading branch information
maxmartynov and aqrln committed Apr 14, 2023
1 parent 8d87367 commit d29c126
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/Generate.ts
Expand Up @@ -50,6 +50,7 @@ ${chalk.bold('Options')}
--schema Custom path to your Prisma schema
--data-proxy Enable the Data Proxy in the Prisma Client
--watch Watch the Prisma schema and rerun after a change
--generator Generator to use (may be provided multiple times)
${chalk.bold('Examples')}
Expand All @@ -59,6 +60,9 @@ ${chalk.bold('Examples')}
Or specify a schema
${chalk.dim('$')} prisma generate --schema=./schema.prisma
Run the command with multiple specific generators
${chalk.dim('$')} prisma generate --generator client1 --generator client2
Watch Prisma schema file and rerun after each change
${chalk.dim('$')} prisma generate --watch
Expand Down

0 comments on commit d29c126

Please sign in to comment.