rucken
Version:
Console tools and scripts for nx and not only that I (EndyKaufman) use to automate the workflow and speed up the development process
15 lines (14 loc) • 506 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BootstrapConsole = void 0;
const core_1 = require("@nestjs/core");
const abstract_1 = require("./abstract");
/**
* A class to boot a nestjs application context from cli
*/
class BootstrapConsole extends abstract_1.AbstractBootstrapConsole {
create() {
return core_1.NestFactory.createApplicationContext(this.options.module, this.options.contextOptions);
}
}
exports.BootstrapConsole = BootstrapConsole;