UNPKG

@nestjs/cli

Version:

The Nest CLI: create NestJS applications, generate modules, controllers and CRUD resources, and build, run and watch projects and monorepos.

9 lines (8 loc) • 162 B
export function gracefullyExitOnPromptError(err) { if (err.name === 'ExitPromptError') { process.exit(1); } else { throw err; } }