1 | "use strict";
|
2 | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3 | function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4 | return new (P || (P = Promise))(function (resolve, reject) {
|
5 | function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6 | function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7 | function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8 | step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9 | });
|
10 | };
|
11 | Object.defineProperty(exports, "__esModule", { value: true });
|
12 | exports.InfoCommand = void 0;
|
13 | const abstract_command_1 = require("./abstract.command");
|
14 | class InfoCommand extends abstract_command_1.AbstractCommand {
|
15 | load(program) {
|
16 | program
|
17 | .command('info')
|
18 | .alias('i')
|
19 | .description('Display Nest project details.')
|
20 | .action(() => __awaiter(this, void 0, void 0, function* () {
|
21 | yield this.action.handle();
|
22 | }));
|
23 | }
|
24 | }
|
25 | exports.InfoCommand = InfoCommand;
|