Skip to content
New issue

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

you can now specify a min/max # of non-option arguments #182

Merged
merged 1 commit into from
Jun 18, 2015
Merged

Conversation

bcoe
Copy link
Member

@bcoe bcoe commented Jun 18, 2015

You can now specify a min/max # of non-option arguments, see #169.

It works like so:

yargs.demand(min, max)

Where min/max represent the minimum and maximum # of arguments that must be provided.

bcoe added a commit that referenced this pull request Jun 18, 2015
you can now specify a min/max # of non-option arguments
@bcoe bcoe merged commit 8dfb63f into master Jun 18, 2015
@bcoe bcoe deleted the fix-169 branch June 18, 2015 20:00
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