Closed jgoux closed 7 months ago
In this PR I'm adding the possibility of initializing @snaplet/seed in a custom folder.
@snaplet/seed
When working on the Prisma example, I thought it would have been nice to initialize in the prisma folder under prisma/seed for example.
prisma
prisma/seed
We can now do this:
npx @snaplet/seed init prisma/seed
Docs PR: https://github.com/snaplet/docs/pull/104
Fixes S-2082
We should be able to initialize seed in a folder other than the current one. Example: `npx snaplet/seed init prisma/seed` It would then create all the files in this folder.
In this PR I'm adding the possibility of initializing
@snaplet/seed
in a custom folder.When working on the Prisma example, I thought it would have been nice to initialize in the
prisma
folder underprisma/seed
for example.We can now do this:
Docs PR: https://github.com/snaplet/docs/pull/104
Fixes S-2082