sub Command
fun subCommand(signature: String, tabCompletions: (CommandSender) -> Map<String, Collection<String>> = { emptyMap() }, executor: (CommandExecutor) -> Unit): Command
Content copied to clipboard
Registers an argument to this command
Return
this command
Parameters
signature
The name and signature of the command
executor
The function to execute when the argument is executed