UNPKG

ryuu

Version:

Domo App Dev Studio CLI, The main tool used to create, edit, and publish app designs to Domo

42 lines 1.33 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseCommand = void 0; var log_1 = require("./log"); var BaseCommand = /** @class */ (function () { function BaseCommand(program) { this.program = program; this.options = {}; this.configure(); } BaseCommand.prototype.logInfo = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } log_1.log.info.apply(log_1.log, args); }; BaseCommand.prototype.logOk = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } log_1.log.ok.apply(log_1.log, args); }; BaseCommand.prototype.logFail = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } log_1.log.fail.apply(log_1.log, args); }; BaseCommand.prototype.logWarn = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } log_1.log.warn.apply(log_1.log, args); }; return BaseCommand; }()); exports.BaseCommand = BaseCommand; //# sourceMappingURL=BaseCommand.js.map