Picocli

 

These examples utilize Picocli, a library for writing command line applications that can understand a wide variety of optional and positional parameter types, based upon annotations added to your Java code.

Picocli's features include multiple argument styles, multi-valued fields, default values, argument grouping, automatic conversion of arguments to Java types, automatic help and version options, ANSI colors, password processing, argument files (@-files), git-like subcommands, and the automatic generation of AsciiDoc man pages.

My Examples

The usage information shown for each example is generated by Picocli automatically, based on annotations included in the code.

Notable Picocli features: git-like subcommands, subcommand creation using a method and a class, use of the help command.


Other Downloads and Links


Dr. Andrew Davison
E-mail: ad@coe.psu.ac.th
Back to the third-party libraries page