Skip to content

Releases: ajalt/clikt

2.2.0

29 Sep 14:44
Compare
Choose a tag to compare

Added

Changed

Fixed

  • Help output missing items when no help text is specified. (#85)
  • Help output not grouping options in groups passed to groupChoice. (#88)

2.1.0

23 Jun 18:23
Compare
Choose a tag to compare

Added

  • Ability to prevent rewrapping individual paragraphs in help output.
  • Added parameter required to Option.multiple() to require at least one instance of the option on the command line.

Changed

  • CliktCommand.toString() now includes the names and values of all parameters and subcommands,

Fixed

  • Create subcommand context when helpOptionNames is empty. (#64)

2.0.0

12 May 22:17
Compare
Choose a tag to compare

Some of the highlights for this release:

See the changelog for details.

1.7.0

23 Mar 17:46
Compare
Choose a tag to compare

Added

  • printHelpOnEmptyArgs parameter to CliktCommand constructor. (#41)

Fixed

  • Usage errors now correctly print subcommand names. (#47)
  • Arguments with multiple(required=true) now report an error if no argument is given on the command line. (#36)

1.6.0

15 Jan 19:02
Compare
Choose a tag to compare

Added

  • .multiple().unique() modifier for options and arguments.

Fixed

  • Support multi-line input when redirecting stdin

1.5.0

26 Aug 18:10
Compare
Choose a tag to compare

Added

  • Ability to use alternate output streams rather than stdin and stdout by setting Context.console or by passing a console to TermUI functions.

1.4.0

01 Aug 02:31
Compare
Choose a tag to compare

Added

  • path() type for parameter values

Changed

  • Clikt now targets JVM 8 bytecode
  • Responses to TermUi.confirm() are now case-insensitive

1.3.0

23 Jun 21:04
Compare
Choose a tag to compare

Added

  • defaultLazy extension for options and arguments

Changed

  • main now prints messages to stderr instead of stdout

Fixed

  • Parameter help messages are now wrapped more consistently

1.1.0

15 Apr 22:44
Compare
Choose a tag to compare
  • Add List<String> overloads to CliktCommand.parse and main
  • Add err parameter to TermUi.echo
  • Add error property to Abort

1.0.0

10 Apr 18:33
Compare
Choose a tag to compare
Release version 1.0.0