Skip to content

Releases: SvenGroot/Ookii.CommandLine

Ookii.CommandLine 4.1

26 Jan 20:28
9df03b6
Compare
Choose a tag to compare

What's new

Ookii.CommandLine 4.1 adds CancellationToken support for asynchronous commands, custom default value formats in the usage help, support for the -- token to escape argument names, an event to handle/ignore unknown arguments, additional ValidateEnumValueAttribute options, and more.

For full details, please see the change log, and documentation for this release.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, .Net 7.0, and .Net 8.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 4.1 (preview 2)

20 Dec 00:49
Compare
Choose a tag to compare
Pre-release

What's new

This is a preview release of Ookii.CommandLine 4.1, which adds CancellationToken support for asynchronous commands, custom default value formats, support for the -- token to escape argument names, an event to handle/ignore unknown arguments, additional ValidateEnumValueAttribute options, and more.

For full details, please see the change log, and documentation for this release.

This preview is feature complete, but changes may still be made before the final release based on testing.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, .Net 7.0, and .Net 8.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 4.1 (preview)

08 Dec 23:50
Compare
Choose a tag to compare
Pre-release

What's new

This is a preview release of Ookii.CommandLine 4.1, which adds CancellationToken support for asynchronous commands, custom default value formats, support for the -- token to escape argument names, additional ValidateEnumValueAttribute options, and more.

The change log and documentation have not been updated yet, but there is updated class library documentation.

This preview is feature complete, but changes may still be made before the final release based on testing.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, .Net 7.0, and .Net 8.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 4.0.1

19 Sep 23:31
c3e4395
Compare
Choose a tag to compare

What's new

Ookii.CommandLine 4.0.1 is a service release that fixes an issue where arguments defined by methods could not have aliases.

See the change log for everything that's new.

Version 4.0.1 contains several breaking changes from version 2.x and 3.x. See the migration guide for more information on upgrading existing projects. In most cases, you probably won't need many changes.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 4.0

20 Jul 19:40
bb7ed9a
Compare
Choose a tag to compare

What's new

Ookii.CommandLine 4.0 is a major release, which adds support for source generation, revised argument value conversion, automatic prefix aliases, support for C# 11 required properties, a new attribute for value descriptions that allows for localization, canceling parsing with success and access the remaining arguments afterwards, support for nested subcommands, source link integration, and more.

See the change log for everything that's new.

Version 4.0 contains several breaking changes from version 2.x and 3.x. See the migration guide for more information on upgrading existing projects. In most cases, you probably won't need many changes.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Read the blog post for this release.

Ookii.CommandLine 4.0 (preview 2)

14 Jul 18:49
Compare
Choose a tag to compare
Pre-release

What's new

This is a preview release of Ookii.CommandLine 4.0, which brings source generation, a new way of handling argument value conversion, automatic prefix aliases, built-in nested arguments, and more. Preview 2 fixes a few bugs from the first preview.

For full details, please see the change log, and documentation for this release.

This preview is feature complete, but changes may still be made before the final release based on testing.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 4.0 (preview)

06 Jul 23:52
Compare
Choose a tag to compare
Pre-release

What's new

This is a preview release of Ookii.CommandLine 4.0, which brings source generation, a new way of handling argument value conversion, automatic prefix aliases, built-in nested arguments, and more.

For full details, please see the change log, and documentation for this release.

This preview is feature complete, but changes may still be made before the final release based on testing.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, and .Net 7.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 3.1.1

29 Mar 19:02
Compare
Choose a tag to compare

What's new

Ookii.CommandLine 3.1.1 is a small service release for .Net Standard 2.0 only; it contains no changes from 3.1 for .Net Standard 2.1 or .Net 6.0.

For full details, please see the change log.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, and .Net 6.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 3.1

21 Mar 22:03
ba26fca
Compare
Choose a tag to compare

What's new

Ookii.CommandLine 3.1 is a small update that adds a way to get more information about errors or argument cancellation while still using the functionality to automatically display error messages and usage help. It also includes several improvements to the LineWrappingTextWriter.

For full details, please see the change log.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, and .Net 6.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 3.0

01 Dec 20:45
531ca37
Compare
Choose a tag to compare

What's new

Ookii.CommandLine 3.0 is a major release with many new features, including support for an additional, more POSIX-like argument syntax, argument validation and dependencies, automatic name transformations, an updated subcommand API, usage help color output, more powerful customization, and more. Please see the version history for full details.

Version 3.0 contains several breaking changes from version 2.x, both in API and behavior. In most cases, you probably won't need many changes, unless you used subcommands or heavily customized the usage help. See the migration guide for more information on upgrading existing projects.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, and .Net 6.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.