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
[CLI]: Switch over to a less verbose argument parser library #3376
Comments
Since this calls for a major refactor, I would love to hear out from the maintainers. |
I like where the motivation is coming from, but Commander is a hard vote no from me. It's way overkill for our needs. yargs-parser would be much more prudent. |
Sounds good. So shall I go ahead or should we wait to hear what others have to say? |
Definitely wait for more input. |
yargs-parser looks like it can be configured to work the same way as minimist with regard to objects and negations and does not look too big. Definitely worth a shot. |
I've been using https://www.npmjs.com/package/command-line-args for a lot of CLIs, it works out pretty well. |
Expected Behavior / Situation
As of now the CLI depends on
minimist
for the purpose of argument parsing which isn't actively maintained anymore. Switching over to any of the better solutions, saycommander.js
would be a better idea.Actual Behavior / Situation
Consumes an
arg-parser library
which is no longer actively maintained.Modification Proposal
Switch over to a better argument parser library.
The text was updated successfully, but these errors were encountered: