Skip to content

3.1.0

Compare
Choose a tag to compare
@natemcmaster natemcmaster released this 10 Jan 00:24

Get the update from https://www.nuget.org/packages/McMaster.Extensions.CommandLineUtils/3.1.0

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 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<bool,T> option/argument (#390)
  • @scott-xu: update help text to show allowed values from AllowedValues attribute instead of Enum values (#391)

Docs

Other

Changes:

  • 9f57dfe Update changelog and releasenotes
  • 9b91cfb Move PublicAPI to 'shipped'
  • 2c3b8b5 cleanup: upgrade dependencies
  • f5938c8 cleanup: further code deduplication on new hosting APIs (#416)
  • 643f9c3 refactor: code deduplication and added/fixed tests for new hosting APIs (#415)
  • 47d1194 feature: expand Microsoft.Extensions.Hosting support to allow work to be done prior to Run*Async() (#409)
  • bcf20ed cleanup: update .editorconfig
  • df0a511 cleanup: fixup more references to 'master'
  • 7d705cc cleanup: upgrade Linux CI to latest ubuntu version (#412)
  • 29ecc17 cleanup: upgrade test projects and CI to .NET 5 (#411)
See More
  • 760247d fix: late bind parsers for attribute-discovered options & arguments (#398)
  • 4f686fe fix: treat null as 'true' by default when parsing Nullable types on command options (#397)

This list of changes was auto generated.