prisma_cli 1.0.0 copy "prisma_cli: ^1.0.0" to clipboard
prisma_cli: ^1.0.0 copied to clipboard

discontinuedreplaced by: orm
outdated

◭ Prisma is a modern DB toolkit to query, migrate and model your database

◭ Prisma is a modern DB toolkit to query, migrate and model your database.

Commands #

  • init: Initialize a new Prisma project.
  • generate: Generate a Prisma client.
  • db: Manage your database schema and lifecycle.
  • format: Format a Prisma schema.

db Subcommands #

  • push: Push the state from your Prisma schema to your database.
  • pull: Pull the state from your database to your Prisma schema.

Console Executable #

If you want to use the Prisma CLI from the command line, you can install it with:

dart pub global activate prisma_cli

Then you can use it like this:

prisma --help

Command In Project #

The global Prisma CLI is not required, you can add it to dev_dependencies in pubspace.yaml as follows:

dev_dependencies:
  prisma_cli: any

Then you can use it like this:

dart run orm --help

Commands TODO List: #

  • init - ✅
  • format - ✅
  • db:
    • push - ✅
    • pull - todo
  • generate - processing
  • help - ✅

More Information #

More about Prisma:

1
likes
130
pub points
0%
popularity

Publisher

verified publisherprisma.pub

◭ Prisma is a modern DB toolkit to query, migrate and model your database

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

archive, args, cli_util, http, io, json_annotation, path, yaml

More

Packages that depend on prisma_cli