v2.0.0-M15
Pre-release
Pre-release
Help / description message for apps and commands
Use like
@HelpMessage("Does something")
case class MyAppOptions(
n: Int = 0
)
object MyApp extends CaseApp[MyAppOptions] {
def run(options: MyAppOptions, args: RemainingArgs): Unit =
???
}
prints a help message like
MyApp
Does something
Usage: my-app [options]
--usage <bool>
Print usage and exit
--help | -h <bool>
Print help message and exit
-n <int>