argument
fun <T : Any> argument(name: String, type: ArgumentType<T>, block: ArgumentCommandDsl<T>.() -> Unit = {})
Adds an argument child node to this command.
Parameters
T
The type of the argument value
name
The name of the argument, used to retrieve the value later
type
The ArgumentType that defines how to parse this argument
block
A configuration lambda for the argument node