clikt v2.7.0 Release Notes
Release Date: 2020-05-13 // almost 4 years ago-
โ Added
- Ability to use custom program exit status codes via
ProgramResult
. inputStream
andoutputStream
conversions for options and arguments. (#157 and #159)splitPair
,toMap
, andassociate
extensions onoption
. (#166)treatUnknownOptionsAsArgs
parameter toCliktCommand
. (#152)- 0๏ธโฃ
defaultByName
function forgroupChoice
andgroupSwitch
options. (#171)
๐ Changed
- โก๏ธ Update Kotlin to 1.3.71
- ๐ Improved command name inference. Now, a class like
MyAppCommand
will infer itscommandName
asmy-app
rather thanmyappcommand
. You can still specify the name manually as before. (#168)
๐ Fixed
- ๐ Correctly parse short options with attached values that contain
=
๐ Thanks to @sschuberth for his contributions to this release!
- Ability to use custom program exit status codes via