Skip to content

Releases: natemcmaster/CommandLineUtils

v2.2.3

11 May 05:56
32a5e14

Choose a tag to compare

v2.2.2

28 Apr 23:39
92481fa

Choose a tag to compare

v2.2.1

11 Apr 15:07

Choose a tag to compare

v2.2.0

31 Mar 06:05

Choose a tag to compare

v2.2.0-rc

23 Mar 15:31

Choose a tag to compare

v2.2.0-beta

08 Mar 05:09
8f1d78e

Choose a tag to compare

v2.2.0-beta Pre-release
Pre-release

This release contains a huge refactoring to the way the attribute-binding was implemented. As a part of this, I've made it possible for you to extend and control better the way that a .NET type is bound to CommandLineApplication.

New features:

  • Add CommandOptionType.SingleOrNoValue. Options of this type can be a switch, or have a value but only in the form --param:value or --param=value.
  • Support mapping Tuple<bool,T> and ValueTuple<bool,T> to CommandOptionType.SingleOrNoValue
  • Added CommandLineApplication<TModel>. This allows associating an application with a specific .NET type
  • Convention API. Adds support for writing your own conventions to convert command line arguments into a .NET type
  • [@sebastienros] - Support for case-insensitive options
  • Add support for constructor injection and dependency injection by providing a custom service provider

Build: https://ci.appveyor.com/project/natemcmaster/commandlineutils/build/2.2.0-beta
Release: https://www.nuget.org/packages/McMaster.Extensions.CommandLineUtils/2.2.0-beta

v2.2.0-alpha

20 Feb 05:31

Choose a tag to compare

v2.1.1

28 Dec 07:10

Choose a tag to compare

[Fixed]

  • Fix #32 - Don't validate options when --help or --version is specified
  • Fix #30 - Help option prints incorrect ShortName

https://www.nuget.org/packages/McMaster.Extensions.CommandLineUtils/2.1.1

v2.1.0

28 Dec 07:07

Choose a tag to compare

Same as the 2.1.0-rc release, but with documentation, more samples, and release notes.

Attribute parsing and validation: 2.1.0-rc

07 Dec 03:42

Choose a tag to compare

Includes all the features of 2.1.0-alpha, but have been refined to handled better a wider range of configurations.

Plus, this includes parameter validation.