Skip to content

Review CLI help outputs / flags #5961

@Jolg42

Description

@Jolg42

Help output of the CLI could use some work:

λ prisma generate -h
Generate artifacts (e.g. Prisma Client)
Usage
With an existing Prisma schema
  $ prisma generate
Or specify a schema:
  $ prisma generate --schema=./schema.prisma
Flag
  --watch    Watch the Prisma schema and rerun after a change

or

λ prisma db pull --help
Pull the state from the database to the Prisma schema using introspection
Usage
With an existing Prisma schema
  $ prisma db pull
Or specify a Prisma schema path
  $ prisma db pull --schema=./schema.prisma
Instead of saving the result to the filesystem, you can also print it
  $ prisma db pull --print
Flag
  --force     Ignore current Prisma schema file

both show flags or params (like --schema or --print) in the usage examples that are not listed in the Flag list - and it is probably similar for many other commands.

Metadata

Metadata

Assignees

Labels

good first issueAlways wanted to get involved in an open source project but don’t know where to begin? Welcome!topic: cli

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions