Skip to content

picocli 0.9.8

Compare
Choose a tag to compare
@remkop remkop released this 06 Aug 16:57

Improved version and usage help, improved subcommand support, bugfixes and enhancements.
API may change.

Issues Closed

  • #162 Added new Version Help section to user manual; added version attribute on @Command; added CommandLine::printVersionHelp convenience method to print version information from this annotation to the console
  • #145 Added usageHelp and versionHelp attributes on @Option; added CommandLine::isUsageHelpRequested and CommandLine::isVersionHelpRequested to allow external components to detect whether usage help or version information was requested (without inspecting the annotated domain object). Thanks to kakawait.
  • #160 Added @since version in javadoc for recent API changes.
  • #157 API change: added CommandLine::getParent method to get the parent command of a subcommand. Thanks to nagkumar.
  • #152 Added support for registering subcommands declaratively with the @Command(subcommands={...}) annotation. Thanks to nagkumar.
  • #146 Show underlying error when type conversion fails
  • #147 Toggle boolean flags instead of setting to true
  • #148 Long string in default value no longer causes infinite loop when printing usage. Thanks to smartboyathome.
  • #142 First line of long synopsis no longer overshoots 80-character usage help width. Thanks to waacc-gh.