clikt v2.8.0 Release Notes

Release Date: 2020-06-19 // almost 4 years ago
  • 2020-06-19

    โž• Added

    • โž• Added error parameter to PrintMessage and PrintHelpMessage. When true, CliktCommand.main will exit with status code 1. (#187)

    ๐Ÿ”„ Changed

    • ๐Ÿ–จ When printHelpOnEmptyArgs is true and no arguments are present, or when invokeWithoutSubcommand is false and no subcommand is present, CliktCommand.main will now exit with status code 1 rather than 0.
    • restrictTo now works with any Comparable value, not just Number.
    • CliktCommand.main now accepts Array<out String>, not just Array<String>. (#196)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed option values being reset when calling multiple subcommands with allowMultipleSubcommands=true (#190)