CommandSpec

constructor(programName: String, description: String = "", params: List<ParamSpec>, version: String? = null)

Parameters

programName

the program name shown in usage.

description

a one-line description shown at the top of --help.

params

the declared parameters, in the order they should appear in --help.

version

when set, --version is recognized and prints this string.