You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You know that if you set an TextWriter for help output in settings, you can override the value with this overload? bool ParseArguments(string[] args, object options, TextWriter helpWriter)
I'm sorry but mr. overload, I think I'm gonna kill you! :D
And all ParseArgumentStrict(...) can be reduced to:
My current level of skill / knowledge disagree that this interface (and main implementation
CommandLine.Parser
) exposes so much overloads.I'm thinking to reduce with this philosophy:
Few examples:
You know that if you set an
TextWriter
for help output in settings, you can override the value with this overload?bool ParseArguments(string[] args, object options, TextWriter helpWriter)
I'm sorry but mr. overload, I think I'm gonna kill you! :D
And all
ParseArgumentStrict(...)
can be reduced to:bool ParseArgumentsStrict(string[] args, object options, Action onFail = null);
I'm quite to near to next RC0, so opinions are welcome. Support me or try to make me change idea...
The text was updated successfully, but these errors were encountered: