@kenchan0130/markdown-to-atlassian-wiki-markup-cli
Version:
Command line interface of markdown-to-atlassian-wiki-markup (https://github.com/kenchan0130/markdown-to-atlassian-wiki-markup)
19 lines • 691 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.processArguments = void 0;
var ProcessArgumentsImpl = /** @class */ (function () {
function ProcessArgumentsImpl(argv) {
if (argv.length < 2)
throw new TypeError("The argv must be 2 or more.");
this.argv = argv;
}
ProcessArgumentsImpl.prototype.toArray = function () {
return this.argv;
};
ProcessArgumentsImpl.prototype.hasPassedArguments = function () {
return this.argv.length > 2;
};
return ProcessArgumentsImpl;
}());
exports.processArguments = new ProcessArgumentsImpl(process.argv);
//# sourceMappingURL=processArguments.js.map