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

fix: make param mappings properly optional #28

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

MiniDigger
Copy link
Member

also makes the report cli param optional

also makes the report cli param optional
@@ -74,7 +74,7 @@ static final class ReportOptions {
hidden = true)
private @Nullable Path reportsDir;

@CommandLine.ArgGroup(multiplicity = "1")
@CommandLine.ArgGroup(multiplicity = "1", exclusive = false)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DenWav idk how much experience you have with this cli stuff, but if I dont add this, I get a weird error about missing args (like its missing (()) )
turned on debug logging for it, said something about making stuff required because its not exclusive and did that, but idk what effect this has, stuff seems to work tho

@MiniDigger MiniDigger merged commit 175ea4c into main Mar 22, 2024
2 checks passed
@MiniDigger MiniDigger deleted the optional-param-mappings branch March 22, 2024 08:31
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