command

Java-friendly fluent builder entrypoint.

Example (Java): Commands.command("ping").executor(ctx -> CommandResult.Success).build()


Kotlin DSL entrypoint.

Example (Kotlin): command("ping") { execute { CommandResult.Success } }