literal
Adds a literal argument to the command.
Return
this CommandCreator instance for chaining
Parameters
literal
the literal string to match in the command
fun literal(literal: String, creator: CommandCreator<LiteralArgumentBuilder<CommandSourceStack>>.() -> Unit = {}): CommandCreator<T>
Adds a literal argument to the command.
Return
this CommandCreator instance for chaining
Parameters
literal
the literal string to match in the command
creator
the configuration block for the subcommand identified by the literal