We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19fdd3a commit 13c0446Copy full SHA for 13c0446
src/program.js
@@ -6,9 +6,7 @@ import {readFileSync} from 'fs';
6
import camelCase from 'camelcase';
7
import decamelize from 'decamelize';
8
import yargs from 'yargs';
9
-// TODO(rpl): try to remove the following suppress comment after updating flow to more recent versions.
10
-// $FlowFixMe: flow doesn't seem to read yet the `exports` property from the yargs package.json.
11
-import { Parser as yargsParser } from 'yargs/yargs';
+import { Parser as yargsParser } from 'yargs/helpers';
12
13
import defaultCommands from './cmd';
14
import {UsageError} from './errors';
0 commit comments