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
default .demand
message has counts, provided one can't?
#431
Comments
@ljharb I like the idea of being able to have a simple placeholder in your message, such as:
|
That's exactly what i was thinking - just like |
I went ahead and made a PR - please let me know your thoughts! |
demand has now been split into https://github.com/yargs/yargs/blob/master/docs/api.md#demandoptionkey-msg |
How can I do
.demand(n, msg)
such thatmsg
can contain a count of the number of non-option arguments provided?The text was updated successfully, but these errors were encountered: