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

Refactor argument handling #103

Merged
merged 1 commit into from
May 19, 2024
Merged

Refactor argument handling #103

merged 1 commit into from
May 19, 2024

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented May 19, 2024

Move input-independent arguments to a top-level product type rather than duplicating them in FileArgs and StdinArgs. Without this, specifying --verbose before -i would lock-in StdinInput alternative. The arguments would also be duplicated in the help page.

Move input-independent arguments to a top-level product type rather
than duplicating them in `FileArgs` and `StdinArgs`. Without this,
specifying `--verbose` before `-i` would lock-in `StdinInput` alternative.
The arguments would also be duplicated in the help page.
@jtojnar jtojnar merged commit 664d51e into master May 19, 2024
1 check passed
@jtojnar jtojnar deleted the args branch May 19, 2024 19:22
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.

1 participant