CliFx v1.2 Release Notes
Release Date: 2020-05-11 // almost 4 years ago-
- โ Added built-in Roslyn analyzers that help catch incorrect usage of the library. Currently, all analyzers report issues as warnings so as to not prevent the project from building. In the future that may change.
- โ Added an optional parameter to
new CommandException(...)
calledshowHelp
which can be used to instruct CliFx to show help for the current command after printing the error. (Thanks @Domn Werner) - ๐ Improved help text shown for enum options and parameters by providing the list of valid values that the enum can accept. (Thanks @Domn Werner)
- ๐ Fixed an issue where it was possible to set an option without providing a value, while the option was marked as required.
- ๐ Fixed an issue where it was possible to configure an option with an empty name or a name consisting of a single character. If you want to use a single character as a name, you should set the option's short name instead.
- โ Added
CursorLeft
andCursorTop
properties toIConsole
and its implementations. InVirtualConsole
, these are just auto-properties. - ๐ Improved exception messages.
- ๐ Improved exceptions related to user input by also showing help text after the error message. (Thanks @Domn Werner)