Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to rw prisma alias #1750

Merged
merged 3 commits into from
Feb 8, 2021
Merged

Improvements to rw prisma alias #1750

merged 3 commits into from
Feb 8, 2021

Conversation

peterp
Copy link
Contributor

@peterp peterp commented Feb 7, 2021

  • Make the help, blank and --help command work. Typing yarn rw prisma/ yarn rw prisma unknown / yarn rw prisma --help will now display the following (Note: This is the older CLI.)
◭  Prisma is a modern DB toolkit to query, migrate and model your database (https://prisma.io)

Usage

  $ prisma [command]

Commands

            init   Setup Prisma for your app
      introspect   Get the datamodel of your database
        generate   Generate artifacts (e.g. Prisma Client)
          format   Formats your schema

Flags

  --experimental   Show and run experimental Prisma commands

Examples

  Setup a new Prisma project
  $ prisma init

  Introspect an existing database
  $ prisma introspect

  Generate artifacts (e.g. Prisma Client)
  $ prisma generate
  • Skip yargs validation of flags and instead forward them to prisma's CLI. This means that users can use --name, --schema, and --preview-feature without breaking our alias.

Closes #1749

@github-actions
Copy link

github-actions bot commented Feb 7, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v0.25 release dependency] RW Prisma Command improvements (discussion)
2 participants