UNPKG

924 BJavaScriptView Raw
1"use strict";
2function __export(m) {
3 for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4}
5Object.defineProperty(exports, "__esModule", { value: true });
6// tslint:disable-next-line: no-submodule-imports
7require("dotenv/config");
8process.on('unhandledRejection', err => {
9 // tslint:disable-next-line: no-console
10 console.error('Unhandled Rejection', err);
11 process.exit(1);
12});
13__export(require("./Cli"));
14// import { Cli } from './Cli';
15// import { CliOptions } from './types';
16// import * as prettyjson from 'prettyjson';
17// import * as fs from 'fs';
18// import { def } from './testDef';
19// const cli = new Cli(def, '1.0.0', { showPrompts: false });
20// // const parsed = cli.parse();
21// // console.log(prettyjson.render(parsed));
22// cli.start().then(result => {
23// fs.writeFileSync('parsed.txt', JSON.stringify(result.parsedCommand, undefined, 3));
24// });
25//# sourceMappingURL=index.js.map
\No newline at end of file