@nest-extended/cli

The command-line tool that scaffolds NestJS apps and resources following the nest-extended conventions. It installs the nest-cli binary.

$npm install -g @nest-extended/cli

Commands

CommandAliasPurpose
nest-cli generate app <name>g appScaffold a complete NestJS app
nest-cli generate service <name>g serviceGenerate a CRUD resource bundle
nest-cli generate authg authAdd an auth + users module
nest-cli migration runm runRun version migration scripts

Quick start

Terminal
# scaffold an app
nest-cli g app my-api --db PostgreSQL --orm prisma --validator zod --pm npm --auth
 
# add resources
cd my-api
nest-cli g service product
nest-cli g service order/item

See the full CLI Reference for every flag, the generated file layout and the name-transformation rules.

Next steps