Skip to content

Releases: SvenGroot/Ookii.CommandLine

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.

Ookii.CommandLine 2.4

01 Sep 19:05
Compare
Choose a tag to compare

What's new

  • Ookii.CommandLine now comes in a .Net 6.0 version that fully supports nullable reference types
    (.Net Framework 2.0 and .Net Standard 2.0 versions are also still provided).
  • New static Parse<T> helper methods that make parsing command line arguments and printing
    errors and usage even easier.
  • Support for customization of the separator between argument names and values.
  • Support for customization of the separator between keys and values for dictionary arguments.
  • Support for customizing a dictionary argument's key and value TypeConverter separately.
  • Arguments can indicate they cancel parsing to make adding a -Help or -? argument easier.
  • Some small bug fixes.

Release contents

  • Ookii.CommandLine.dll: the class library binary that you can use with your own applications. Versions for both .Net Framework 2.0 (or later), .Net Standard 2.0, and .Net 6.0 (and later) are provided.
  • The documentation for this release (also available here on GitHub).
  • A VSIX that installs a number of Visual Studio code snippets for C# and Visual Basic to aid in creating command line argument classes.
  • Two sample applications demonstrating command line argument parsing and shell commands.

Ookii.CommandLine 2.3

05 Sep 20:31
Compare
Choose a tag to compare

This release adds .Net Standard 2.0 binaries. It is otherwise unchanged from version 2.2. Net Framework 2.0 binaries are still provided. You can also get this release via NuGet (note: the Visual Studio snippets are only available through GitHub).

Release contents
This release contains the following:

  • Ookii.CommandLine.dll: the class library binary that you can use with your own applications. Versions for both .Net Framework 2.0 (or later) and .Net Standard 2.0 are provided.
  • User Guide.html: documentation for this release (also available here on GitHub).
  • Documentation.chm: class library documentation for this release
  • A number of Visual Studio code snippets for C# and Visual Basic to aid in creating command line argument classes.
  • Two sample applications demonstrating command line argument parsing and shell commands.

What's new
Ookii.CommandLine 2.3 offers the following improvements over version 2.2:

  • Ookii.CommandLine now comes in both a .Net Framework 2.0 and .Net Standard 2.0 version.

Ookii.CommandLine 2.2

30 Jun 00:56
Compare
Choose a tag to compare

This is a small release that adds argument name aliases, code snippets, and some updates to usage help generation.

Release contents
This release contains the following:

  • Ookii.CommandLine.dll: the class library binary that you can use with your own applications targetting the Microsoft .Net Framework 2.0 or later (Mono 2.6 or later is also supported). XML documentation and a PDB file are also provided.
  • User Guide.html: documentation for this release (also available under Documentation).
  • Documentation.chm: class library documentation for this release
  • A number of code snippets for C# and Visual Basic to aid in creating command line argument classes.
  • The full source code to the Ookii.CommandLine library.
  • Two sample applications (including source code in C# and VB) demonstrating command line argument parsing and shell commands.

What's new
Ookii.CommandLine 2.2 offers the following improvements over version 2.1:

  • Added support for alternative names (aliases) for command line arguments.
  • An argument's aliases and default value can be included in the argument description when generating usage.
  • Added code snippets.