We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arguments
The following example shows us an output as { _: [], foo: 99, bar: '9987930' } of type parser.Arguments.
{ _: [], foo: 99, bar: '9987930' }
parser.Arguments
import parser from 'yargs-parser'; const argv = parser('--foo=99 --bar=9987930', { string: ['bar'], }); console.log(argv);
And IntelliSense helps to pick $0 property of type string.
$0
string
But there is no property $0 in output result so it's undefined.
undefined
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following example shows us an output as
{ _: [], foo: 99, bar: '9987930' }
of typeparser.Arguments
.And IntelliSense helps to pick
$0
property of typestring
.But there is no property
$0
in output result so it'sundefined
.The text was updated successfully, but these errors were encountered: