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 and outputStream conversions for options and arguments. (#157 and #159)
    • splitPair, toMap, and associate extensions on option. (#166)
    • treatUnknownOptionsAsArgs parameter to CliktCommand. (#152)
    • 0๏ธโƒฃ defaultByName function for groupChoice and groupSwitch options. (#171)

    ๐Ÿ”„ Changed

    • โšก๏ธ Update Kotlin to 1.3.71
    • ๐Ÿ‘Œ Improved command name inference. Now, a class like MyAppCommand will infer its commandName as my-app rather than myappcommand. 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!