UNPKG

931 BJavaScriptView Raw
1"use strict";
2// tslint:disable-next-line: no-submodule-imports
3// import 'dotenv/config';
4function __export(m) {
5 for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6}
7Object.defineProperty(exports, "__esModule", { value: true });
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 { dynamicProg } from './testDef';
18// const cli = new Cli(dynamicProg, '1.0.0', { showPrompts: false });
19// // const parsed = cli.parse();
20// // console.log(prettyjson.render(parsed));
21// cli.start().then(result => {
22// // fs.writeFileSync('parsed.txt', JSON.stringify(result.parsedCommand, undefined, 3));
23// debugger
24// });
25//# sourceMappingURL=index.js.map
\No newline at end of file