yujonglee / letsdmmf

Traverse DMMF of Prisma schema, in your terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Traverse DMMF of Prisma schema, in your terminal.

License:MIT License


Languages

Language:Rust 100.0%