New in Ookii.CommandLine 2.1 (Feb 20, 2012)
- Added support for dictionary arguments; these are special multi-value arguments whose values take the form key=value.
- Multi-value arguments can be specified using a read-only property of any collection type (in addition to the previous array support).
- Multi-value properties can optionally use a separator character to allow multiple values to be specified without specifying the argument multiple times.
- Added support for specifying a custom type converter for individual arguments.
- When specifying the default value for an argument defined by a property you can now use any type that can be converted to the argument’s type using its type converter. This makes it possible to define default values for arguments with a type for which there are no literals.
- A CommandLineArgumentException is thrown when the argument type’s constructor or a property setter throws an exception (instead of a TargetInvocationException).
- The CommandLineParser no longer sets the property value for an unspecified argument with a default value of null.
- Shell commands can take their name from the type name.
- Shell commands can use custom argument parsing.
- Various minor bug fixes.