Module io.github.mmm.nls.cli


module io.github.mmm.nls.cli
Provides a powerful extension for mmm-cli that integrates with mmm-nls.

NLS CLI


With this module you can build powerful command-line-interfaces (CLI) easily. While mmm-cli is a minimal module to parse command-line arguments this module adds a lot of build-in features on top of it:
  • help support (print usage on --help or -h)
  • version support (print program version on --version or -v)
  • native-language-support via mmm-nls
  • localizations for arbitrary languages via mmm-n10n-all (needs to be added as dependency)
  • automatic data-binding of command-line arguments via CliProperty
  • automatic matching of CliCommands

Example: