1 | "use strict";
|
2 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
3 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
4 | };
|
5 | Object.defineProperty(exports, "__esModule", { value: true });
|
6 | const yargs_1 = __importDefault(require("yargs"));
|
7 |
|
8 | yargs_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 |
|
\ | No newline at end of file |