CommandSpec
class CommandSpec(val programName: String, val description: String = "", val params: List<ParamSpec>, val version: String? = null)
Describes a command: its name, description, optional version, and parameters.
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.