@triviality/commander
Version:
Commander as a Triviality Module
13 lines • 634 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var commander_1 = require("commander");
var CommanderBootstrapService_1 = require("./CommanderBootstrapService");
exports.CommanderFeature = function (_a) {
var registerList = _a.registerList, construct = _a.construct;
return ({
commanderConfigurations: registerList(),
commanderService: construct(commander_1.Command),
commanderBootstrapService: construct(CommanderBootstrapService_1.CommanderBootstrapService, 'commanderService', 'commanderConfigurations', 'logger'),
});
};
//# sourceMappingURL=CommanderFeature.js.map