@happy-coders/fun-cli
Version:
Be your project management more fun!
22 lines (21 loc) • 788 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WithCommand = void 0;
var tslib_1 = require("tslib");
var abstract_command_1 = require("./abstract.command");
var WithCommand = /** @class */ (function (_super) {
tslib_1.__extends(WithCommand, _super);
function WithCommand() {
return _super !== null && _super.apply(this, arguments) || this;
}
WithCommand.prototype.load = function (program) {
program
.command('with <project-alias>')
.allowUnknownOption(false)
.description('Runs a fun project.')
.usage('<project-alias>')
.action(this.action.setup());
};
return WithCommand;
}(abstract_command_1.AbstractCommand));
exports.WithCommand = WithCommand;