Prisma is amazing but unfortunately in it's early days and I got tired of having to manually enter my database info each time I ran prisma introspect
.
With a little help of autoexpect
this task is now automated.
Hint: On macOS you might need to install expect
from brew, as the macOS version doesn't include autoexpect
.
Modify script.exp
to use your Postgres credentials.