Skip to content

Ookii.CommandLine 2.4

Compare
Choose a tag to compare
@SvenGroot SvenGroot released this 01 Sep 19:05

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.