Skip to content
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

Closed
wants to merge 6 commits into from
Closed

Clap 3.2 #1048

wants to merge 6 commits into from

Conversation

tmccombs
Copy link
Collaborator

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.

@sharkdp
Copy link
Owner

sharkdp commented Jul 12, 2022

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)
Copy link

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?

@sharkdp
Copy link
Owner

sharkdp commented Sep 11, 2022

@tmccombs Could you please explain how this is related to #1067?

@tmccombs
Copy link
Collaborator Author

tmccombs commented Oct 8, 2022

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.

@tmccombs tmccombs closed this Oct 8, 2022
@tmccombs tmccombs deleted the clap-3.2 branch November 2, 2022 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants