Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Latest commit

 

History

History
59 lines (39 loc) · 1.13 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.13 KB

Let's DMMF

release

Traverse DMMF of Prisma schema, in your terminal.

Powered by jless.

Installation

brew tap yujong-lee/tap
brew install letsdmmf

Usage

letsdmmf --help

Basic

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

Examples

This will show you minimal examples of Prisma schema.

letsdmmf example

Output

letsdmmf my/schema.prisma > dmmf.json

letsdmmf my/schema.prisma --output dmmf.json

Option

letsdmmf my/schema.prisma --scrolloff=3 
letsdmmf my/schema.prisma --mode line

See user guide for details.