Skip to main content
Creates a repository class and a test file in the target module. It writes modules/<module>/src/repositories/<Name>Repository.ts and modules/<module>/tests/repositories/<Name>Repository.spec.ts, and installs the @talosjs/repository dependency if it is missing.

Usage

Examples

Options

AI Skill

This command ships a matching repository:create skill. Your AI agent uses it to generate a new TypeORM repository class and its test file, then complete the CRUD and domain-specific methods for database operations on an entity.