UNPKG

@nestjs/cli

Version:

Nest - modern, fast, powerful node.js web framework (@cli)

19 lines (18 loc) 651 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InfoCommand = void 0; const extra_args_warning_1 = require("../lib/utils/extra-args-warning"); const abstract_command_1 = require("./abstract.command"); class InfoCommand extends abstract_command_1.AbstractCommand { load(program) { program .command('info') .alias('i') .description('Display Nest project details.') .action(async (command) => { (0, extra_args_warning_1.exitIfExtraArgs)(command, 0); await this.action.handle(); }); } } exports.InfoCommand = InfoCommand;