Skip to main content
Generate a new seed file inside a module, along with its data yml file and test file. The seeds.ts export file is regenerated, and bin/seed/run.ts is created for the module if it does not already exist.

Usage

ooneex seed:create [options]

Examples

ooneex seed:create
ooneex seed:create --name=DemoUser --module=blog

Options

OptionDescriptionDefault
--nameName of the seed. Normalized to PascalCase with a Seed suffix.Prompted if omitted
--moduleModule the seed is created in.shared

AI Skill

This command ships a matching seed:create skill. It teaches your AI agent to generate a seed file and its test, then complete the seed data and class to populate the database using @ooneex/seeds.
ooneex claude:init