Open shakirullah41 opened 2 years ago
I have the same issue of wanting to control the seed a little more than default run. I cannot seem to find an example of using the " --seed"," -s" argument nor see a list of parameter options and get "Unknown argument: ..." with everything I pass it (class names, file names, globs, indices etc.)
Any help with this issue would be much appreciated. Otherwise, everything seems to be working well.
Guys,
Use npm run typeorm-seeding -- seed -s CreateUsers or with Yarn yarn typeorm-seeding seed -s CreateUser
when i run the cammand
npm run seed:run
, it run all the seed file even if it runs already once.