Skip to main content
Run seeds for every module that defines a bin/seed/run.ts script. Each module’s seed script is run from its own directory. With --drop, seeded data is cleared first, and --env sets the APP_ENV used for the run.

Usage

ooneex seed:run [options]

Examples

ooneex seed:run
ooneex seed:run --drop --env=test

Options

OptionDescriptionDefault
--dropClear seeded data before running seeds.false
--envValue used for APP_ENV when running the seeds.