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. |
natemcmaster
left a comment
There was a problem hiding this comment.
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. |
natemcmaster
left a comment
There was a problem hiding this comment.
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