argument

fun argument(component: CommandComponent<C>): MutableCommandBuilder<C>
fun <T> argument(component: CommandComponent.Builder<C, T>): MutableCommandBuilder<C>

Adds a new component to this command

Return

this mutable builder

Parameters

component

component to add


fun argument(componentSupplier: () -> CommandComponent<C>): MutableCommandBuilder<C>

Add a new argument to this command

Return

this mutable builder

Parameters

componentSupplier

supplier of the component