Skip to content

Ookii.CommandLine 4.0

Compare
Choose a tag to compare
@SvenGroot SvenGroot released this 20 Jul 19:40
· 152 commits to main since this release
bb7ed9a

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.