ArgumentSpec

constructor(name: String, converter: Converter<*>, help: String = "", required: Boolean = true, multiple: Boolean = false)

Parameters

name

the parameter name, shown in help and used as the lookup key in ParsedValues.

converter

converts each raw value to the typed result.

help

help text for --help.

required

whether at least one value must be supplied.

multiple

when true, captures all remaining positionals. At most one parameter per command may set this, and it must be declared last.