UNPKG

678 BJavaScriptView Raw
1"use strict";
2var __importDefault = (this && this.__importDefault) || function (mod) {
3 return (mod && mod.__esModule) ? mod : { "default": mod };
4};
5Object.defineProperty(exports, "__esModule", { value: true });
6const yargs_1 = __importDefault(require("yargs"));
7// eslint-disable-next-line no-unused-expressions
8yargs_1.default
9 .usage('Usage: $0 <command> [options]')
10 .commandDir('cmds')
11 .demandCommand(1, 'A command is required. Pass --help to see all available commands and options.')
12 .recommendCommands()
13 .strict()
14 .alias('h', 'help')
15 .alias('v', 'version')
16 .wrap(yargs_1.default.terminalWidth()).argv;
17//# sourceMappingURL=command.js.map
\No newline at end of file