github ajalt/clikt 2.3.0

latest releases: 5.0.3, 5.0.2, 5.0.1...
5 years ago

Added

  • option().groupSwitch(), which works like groupChoice(), but uses a switch() option rather than a choice() option.
  • UsageError now has a statusCode parameter (which defaults to 1). If you're using ClicktCommand.main, the value of statusCode will be passed to exitProcess.

Changed

  • Shell completion code is now printed by throwing a PrintCompletionMessage (a subclass of PrintMessage) rather than calling echo directly.

Don't miss a new clikt release

NewReleases is sending notifications on new releases.