Skip to content

Commit 1c251e8

Browse files
authoredMay 12, 2020
Rename yargs to parseArguments (#149)
1 parent 20f6e85 commit 1c251e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
const path = require('path');
33
const buildParserOptions = require('minimist-options');
4-
const yargs = require('yargs-parser');
4+
const parseArguments = require('yargs-parser');
55
const camelCase = require('camelcase');
66
const camelCaseKeys = require('camelcase-keys');
77
const decamelizeKeys = require('decamelize-keys');
@@ -150,7 +150,7 @@ const meow = (helpText, options) => {
150150
}
151151

152152
const {pkg} = options;
153-
const argv = yargs(options.argv, parserOptions);
153+
const argv = parseArguments(options.argv, parserOptions);
154154
let help = redent(trimNewlines((options.help || '').replace(/\t+\n*$/, '')), 2);
155155

156156
normalizePackageData(pkg);

0 commit comments

Comments
 (0)
Please sign in to comment.