Skip to content

Conversation

bcoe
Copy link
Owner

@bcoe bcoe commented Feb 1, 2022

Working on porting as much of yargs-parser's functionality to using parseArgs as makes sense.


it('should set the value of the final option in a group to the next supplied value', function () {
const parse = parser(['-cats', 'meow'], {
withValue: ['s']
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most significant API change so far, is that we must set withValue for any arguments that expect a value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant