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

Use clap derive #197

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Use clap derive #197

merged 1 commit into from
Mar 6, 2024

Conversation

jayvdb
Copy link
Collaborator

@jayvdb jayvdb commented Mar 5, 2024

Several times when trying to add options, especially when there were positional args, I ran into runtime conflicts between the options I specified and the attempts to get the arg/option value.

I find the derive syntax much simpler, and any errors occur at compile time instead of runtime, speeding up the development of enhancements.

Also given butane is using similar struct-centric design, IMO this is more in tune with the design of butane.

@jayvdb jayvdb mentioned this pull request Mar 6, 2024
@Electron100 Electron100 merged commit 521207a into Electron100:master Mar 6, 2024
4 checks passed
@jayvdb jayvdb requested a review from Electron100 March 6, 2024 03:23
@jayvdb jayvdb deleted the clap-derive branch March 6, 2024 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants