CommandLineUtils v2.3.0-beta Release Notes
-
๐ Bugs fixed:
- ๐ Fix #86 by [@handcraftedsource]: handled nested HelpOptions. Fixes InvalidOperationException when multiple help options were defined.(#158)
- ๐ Fix #163 - Obsolete CommandOption.Template and fix help text generation to accurately list available options
- ๐ [@TheConstructor]: fixed a bug in ConstructorInjectionConvention (#181)
โจ Enhancements:
- ๐ [@jcaillon]: Add a new API
UnrecognizedCommandParsingException
which includes suggestions for similar options or commands. (#164) - โ Add support counting of bool/flag variables using
bool[]
. (#143) - ๐ป [@EricStG]: Add a new API
MissingParameterlessConstructorException
that includes the type causing the exception in the message. ([#148]) - ๐ [@atifaziz]: Add a new API
ValueParser.Create
which makes it easier to create implementations ofIValueParser
(#169) - ๐ [@TheConstructor]: Support injection of IConsole and IConvention in generic host (#178)
Other notes:
- ๐ I adjusted some API released in the alpha - primarily, I removed ParserSettings.
๐ New package: McMaster.Extensions.Hosting.CommandLine
๐ฆ Thanks to [@lucastheisen] for writing a new package, McMaster.Extensions.Hosting.CommandLine (#167). This new package provides ๐ integration with ASP.NET Core's "Generic Host" feature..