-
-
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
consider using something else instead of commander #3037
Comments
I suggest we look into yargs |
dashdash is solid - to pass exec flags, I think it's fine to just to do this:
maybe not the least verbose tho also, there is NODE_OPTIONS:
I think NODE_OPTIONS has been backported to Node.js version 6, if I am not mistaken |
|
If a low-level, hands-on approach is needed, you can try The trade-off is that it leaves validation and auto-generated help messages to the author, and doesn't even assume it's running in a Node environment (e.g., it'll work fine in browsers). Naturally, this means no special handling of Understandably, the library won't be to everyone's tastes. I wrote it because |
there are a couple problems with commander:
bin/_mocha
Ideally whatever module we consume instead should adhere more strictly to semver and allow us to consolidate the executables in
bin/
.The text was updated successfully, but these errors were encountered: