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
default value for option/argument (and show it in the help text) #389
default value for option/argument (and show it in the help text) #389
Conversation
Looks like a good start. If you can resolve merge conflicts and also update the behavior of Value/HasValue per #82 (comment), I'd be happy to accept this one! |
Merge conflicts are resolved and the behavior of Value/HasValue has been updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update. Looks like we're getting closer, but there are a few behavioral changes I think we should address first. Thanks for your persistence on this one!
test/CommandLineUtils.Tests/ConstructorInjectionConventionTests.cs
Outdated
Show resolved
Hide resolved
src/CommandLineUtils/Conventions/OptionAttributeConventionBase.cs
Outdated
Show resolved
Hide resolved
@natemcmaster I'd say, all your 3 suggestions make great sense to me. Thanks for the careful review. I've changed accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! Sorry for the slow response while I took a break from open source. I'm working on getting a 3.1 version released soonish, and this will be part of it
I'm merging this to a feature branch. There are a few additional changes I want to make, and will add them on top of your work. Thank you again @scott-xu ! |
Fix #82