You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I feel that narg: {all: 0} should tell yargs-parser that --all should be processed without looking at the next argument. I think it's only valid to set narg of a boolean to 0 or 1. The following shows the desired output for the currently failing test cases:
I'd like the ability to tell yargs-parser that boolean arguments do not accept values in the next argument. Lets say I have
mytest.js
:Currently:
I feel that
narg: {all: 0}
should tell yargs-parser that--all
should be processed without looking at the next argument. I think it's only valid to setnarg
of a boolean to 0 or 1. The following shows the desired output for the currently failing test cases:The text was updated successfully, but these errors were encountered: