keonik/prisma-erd-generator

call prisma-erd-generator from the shell and provide schema file?

Jarrodsz opened this issue · 0 comments

I need to generate prisma schema outside of call from schema.prisma
im using it in conjunction with Prisma-utils, awesome library.

Is it possible to do something like this:

prisma-erd-generator --schema=./prisma/erd.prisma

Also in this regard it would helpful if one could specify config values from a config file.
.prisma-erd-config

I create a temp schema file and want to generate the ERD from that after removing it again.

Is there a way to use prisma-erd-generator from the shell with a schema argument?
If not may I request this feature?

Not sure exactly where to start but with some pointers I could perhaps make a PR