prisma-erd-generator icon indicating copy to clipboard operation
prisma-erd-generator copied to clipboard

Is is possible to use this tool as a standalone CLI ?

Open Doreapp opened this issue 10 months ago • 1 comments

Hey !

I'm new to this repository, I like the idea (big fan or mermaid erDiagrams) !

I would like to use this repo as a CLI tool, like

npm install -g prisma-erd-generator
npx prisma-erd-generator path/to/my/schema.prisma
  • Is it already possible ? (I quickly checked the code and found no reference of it)
  • If not, is it considered for the future of this repo ?

Thanks in advance 🙏

Doreapp avatar Apr 15 '24 05:04 Doreapp

I would guess this would be a separate repository. Just because this one has lots of dependencies to the generator setup. It would be a reasonably small lift to do so though if anyone were interested. Its also possible to just leverage web app ER diagram generator instead.

keonik avatar Apr 22 '24 04:04 keonik