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 to simplify commandline arguments parsing. #8

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

higuoxing
Copy link
Contributor

@higuoxing higuoxing commented Jan 9, 2025

This patch is intended to use clap-derive to parse commandline arguments. This helps improve code readability and make it more extensible. What's more, we don't need to pass ArgMatches to do_copy, do_paste functions.

This patch is intended to use clap-derive to parse commandline
arguments. This helps improve code readability and make it more
extensible.
@beeender beeender merged commit 044d1cc into beeender:main Jan 9, 2025
1 check passed
@higuoxing higuoxing deleted the refactor-arg-parsing branch January 9, 2025 08:30
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