CliFx v1.2 Release Notes

Release Date: 2020-05-11 // over 1 year 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(...) called showHelp 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 and CursorTop properties to IConsole and its implementations. In VirtualConsole, 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)