clikt v2.8.0 Release Notes
Release Date: 2020-06-19 // almost 4 years ago-
2020-06-19
โ Added
- โ Added
error
parameter toPrintMessage
andPrintHelpMessage
. Whentrue
,CliktCommand.main
will exit with status code 1. (#187)
๐ Changed
- ๐จ When
printHelpOnEmptyArgs
istrue
and no arguments are present, or wheninvokeWithoutSubcommand
isfalse
and no subcommand is present,CliktCommand.main
will now exit with status code 1 rather than 0. restrictTo
now works with anyComparable
value, not justNumber
.CliktCommand.main
now acceptsArray<out String>
, not justArray<String>
. (#196)
๐ Fixed
- ๐ Fixed option values being reset when calling multiple subcommands with
allowMultipleSubcommands=true
(#190)
- โ Added