option
fun option(name: String, aliases: Array<String> = arrayOf(), shortAliases: Array<String> = arrayOf(), description: String? = null, required: Boolean = false, hasValue: Boolean = false, defaultValue: String? = null, valueName: String? = null, valueDescription: String? = null, valueValidator: CommanderValueValidator? = null): CommanderCommand(source)
Get an argument by its name
Return
The argument or null if the argument does not exist
Since
0.1.0
Parameters
name
The name of the argument