1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.ReplFunction = void 0;
|
4 | const cli_colors_util_1 = require("@nestjs/common/utils/cli-colors.util");
|
5 | class ReplFunction {
|
6 | constructor(ctx) {
|
7 | this.ctx = ctx;
|
8 | this.logger = ctx.logger;
|
9 | }
|
10 | |
11 |
|
12 |
|
13 | makeHelpMessage() {
|
14 | const { description, name, signature } = this.fnDefinition;
|
15 | const fnSignatureWithName = `${name}${signature}`;
|
16 | return `${cli_colors_util_1.clc.yellow(description)}\n${cli_colors_util_1.clc.magentaBright('Interface:')} ${cli_colors_util_1.clc.bold(fnSignatureWithName)}\n`;
|
17 | }
|
18 | }
|
19 | exports.ReplFunction = ReplFunction;
|