-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
soft-deprecate --reporter-options and replace with --reporter-option #3564
Comments
See discussion from #3487. @johanblumenberg provided the PR's implementation. Would strongly prefer that reporter name be prefixed to key in We should decide how to address these potential problems first. |
I'm closing this; I've since gotten some backchannel feedback that comma-sep is useful, and it's really not much trouble to support both styles. as of v6, |
Wait. I don't care whether But need |
mm, I think all it needs is a |
let's keep this closed and just make a new issue, nevermind. |
This assumes #3556 lands. This issue came out of code review there.
Yargs has great support for "array"-type options. Generally, any option can be specified multiple times. In addition, options can accept multiple, space-delimited values, e.g.,
--foo bar baz quux
.This issue has two parts:
utils.deprecate()
)--reporter-options
--reporter-option
which can be repeated multiple times.It'd be cool to be able to specify a minimum of one value and a maximum of two, e.g.:
Not sure if Yargs can to that, but if it can't, then require a single value and split the result on
=
:The text was updated successfully, but these errors were encountered: