-
-
Notifications
You must be signed in to change notification settings - Fork 815
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
Clap 3.2 #1048
Clap 3.2 #1048
Conversation
Because that is needed for the new version of clap_complete, and it only updates the patch version, so it should be fine to bump it.
Thank you for working on this. On a first glance, the new code looks quite a bit more complicated than what we had before, or am I mistaken? The build process also seems to be more complicated with a new feature flag? |
@@ -525,6 +552,7 @@ pub fn build_app() -> Command<'static> { | |||
.short('S') | |||
.takes_value(true) | |||
.number_of_values(1) | |||
.value_parser(SizeFilter::from_string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally, I'd recommend splitting up the resolving of deprecations and using new features into separate PRs.
This way it doesn't get blocked on discussions around items like
On a first glance, the new code looks quite a bit more complicated than what we had before, or am I mistaken? The build process also seems to be more complicated with a new feature flag?
I'm just going to close this, in favor of #1067. I tried making this first, but then though that using the derive api might be better. |
This doesn't replace every deprecated api in clap 3.2, but it does make use of some of the new features in the places where I thought it was most valuable.