-
Notifications
You must be signed in to change notification settings - Fork 11
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
Thread Crash/Panic #110
Comments
Clap v4 must’ve changed how |
@lhvy ? |
After reading your comment, I was wondering why they already created a v5. I'm not involved into this project and just stumbled accross this issue, but rolling your own CLI argument parsing sounds like a bad idea. Clap recently did many refactorings and major breaking changes in order to get their API cleaned up and I would say they managed to do so. The crate is now much more mature, they managed to hide unwanted complexity behind feature flags and streamlined their API. Writing your own implementation of something hundreds of people racked their brains about will just resolve in much more maintenance work and new bugs for this project. IMO the better cause of action would be to help out with the development of |
You are, of course, completely right :) Turns out I saw v5 in the changelog, but yeah it looks like they haven’t released v5 anywhere. I’m not completely sure what’s up with that, though I’m sure there’s an explanation.
Thanks for the info! That’s good news, I’ll have to take a look at the changes.
Respectfully, I disagree. The tiny subset of Clap’s functionality strictly necessary for pipes-rs (short options, long options) is trivial to implement, and the rest isn’t much effort (Levenshtein distance-based typo correction, colored help output). |
@lhvy It occurred to me that, in the over-engineered spirit of this project, it might be nice to add automated tests for the command-line interface so these sorts of bugs can be caught in the future. |
Sure. I should have some time soon. Should we decide on what we want to do from here and then fix this up? |
The text was updated successfully, but these errors were encountered: