moditect / layrry

A Runner and API for Layered Java Applications
Apache License 2.0
332 stars 33 forks source link

Add `--help` and `--version` parameters for layrry-launcher #78

Closed joschi closed 3 years ago

joschi commented 3 years ago

Add command-line parameters for layrry-launcher to show its usage (--help) and its version (--version).

> java -jar /path/to/layrry-launcher-1.0.0.Alpha1-all.jar --help
Usage: <main class> [options] Main arguments
  Options:
    --basedir
      Base directory for resolving relative paths
    --help
      Show usage
  * --layers-config
      Layers configuration file
    --properties
      Additional config properties
    --version
      Show version

> java -jar /path/to/layrry-launcher-1.0.0.Alpha1-all.jar --version
1.0.0.Alpha1
aalmiray commented 3 years ago

Thank you for the contribution! Much appreciated.

gunnarmorling commented 3 years ago

Excellent, thanks all!

github-actions[bot] commented 1 year ago

Released in v1.0.0.Alpha2 -> https://github.com/moditect/layrry/releases/tag/v1.0.0.Alpha2