Traverse
DMMF
of Prisma schema
, in your terminal.
Powered by jless
.
brew tap yujong-lee/tap
brew install letsdmmf
letsdmmf --help
You can specify both local path or remote url.
letsdmmf my/schema.prisma
letsdmmf https://raw.githubusercontent.com/prisma/prisma-examples/latest/databases/sql-server/prisma/schema.prisma
This will show you minimal
examples
of Prisma schema
.
letsdmmf example
letsdmmf my/schema.prisma > dmmf.json
letsdmmf my/schema.prisma --output dmmf.json
letsdmmf my/schema.prisma --scrolloff=3
letsdmmf my/schema.prisma --mode line
See user guide for details.