CommanderArgument
constructor(command: CommanderCommand, name: String, description: String? = null, required: Boolean = false, defaultValue: String? = null, valueName: String? = null, valueDescription: String? = null, valueValidator: CommanderValueValidator? = null)(source)
Parameters
command
The CommanderCommand this argument belongs to
name
The name of the argument
description
The description of the argument
required
If the argument is required
defaultValue
The default value of the argument
valueName
The name of the argument's value
valueDescription
The description of the argument's value
valueValidator
The CommanderValueValidator of the value of the argument