-
Notifications
You must be signed in to change notification settings - Fork 14
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
Replace commander
with parseArgs
#56
Comments
I don't think |
Yea that makes sense to me. @ruyadorno do you have any other suggestions on this? |
thanks @RaisinTen for bringing this up! @dsanders11 I agree 100% with your initial statement, the goal of the native That said, my proposal to use it here instead is based on different types of motivations:
Outside of these practical reasons, there are also the relevance of helping creating more synergy between the collaborators of With all that in mind I totally respect your call on this. Just let me know in case you want to move forward with |
As a big fan of reducing dependency scope, I'm +1 on the idea of ditching commander if it's doable. |
@ruyadorno thanks for chiming in and also thank you for the great points!
The way I initially imagined node would use postject is through the programmatic API here - https://github.com/postmanlabs/postject/blob/b9356bf75ba4c22aab6baeaab51a94111ef4a79b/src/api.js#L6, i.e., the inject() function. This file does not do However, I agree with the rest of the points you raised and I'm fully supportive of using |
Incidentally if you do go for this, subcommands are doable in |
+1 for using native solution |
+1 for using parseArgs |
See nodejs/node#45038 (comment)
The text was updated successfully, but these errors were encountered: