brigadierCommand

fun <S> brigadierCommand(name: String, block: LiteralNode<S>.() -> Unit): LiteralCommandNode<S>

Builds a Brigadier command tree rooted at a literal node named name.

This is the platform-agnostic entry point. Platform modules provide typed wrappers (e.g. kraftlinCommand for Paper) that call this and handle registration.