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 of IValueParser (#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..