CommandLineUtils v3.1.0 Release Notes

  • ๐Ÿ‘Œ Improvements

    • [@scott-xu]: Show allowed values in help text (#369)
    • ๐Ÿ”ง [@scott-xu]: Generic Hosting: add overload of RunCommandLineApplicationAsync to support configuring of CommandLineApplication (#363)
    • ๐Ÿ— [@danielmeza]: implement API on host builder to fetch CommandLineContext from non DI contexts (#368)
    • [@hellfirehd] and [@cbcrouse]: feature: add API to allow calling UseCommandLineApplication<TApp> prior to Run*Async() (#409 and #415)

    ๐Ÿ› Bug fixes

    • [@natemcmaster]: ensure clustering options is detected correctly when subcommands added via AddSubcommand (#393)
    • [@scott-xu]: make UnrecognizedArgumentHandling per command scope (#371)
    • [@scott-xu]: show allowed values in help text correctly when multiple AllowedValuesAttribute are used (#375)
    • [@scott-xu]: show allowed values in help text for Nullable/ValueTuple option/argument (#390)
    • โšก๏ธ [@scott-xu]: update help text to show allowed values from AllowedValues attribute instead of Enum values (#391)

    ๐Ÿ“„ Docs

    • [@chaami]: Fix Readme.md on Prompt.GetYesNo (#402)
    • ๐Ÿ“„ [@cuperman007] docs: added using statements to code sample in index.md (#384)
    • ๐Ÿ“„ [@scott-xu]: Fix broken links in docs (#377)
    • [@scott-xu]: cleanup: add a period to end sentences for built-in descriptions (#364)

    Other

    • 0๏ธโƒฃ [@natemcmaster]: Change default branch to 'main' (#373)
    • ๐Ÿ“ฆ [@natemcmaster]: Stop code signing binaries and packages (#379)
    • [@natemcmaster]: add dotnet-format to CI, and other code/project file cleanups