dynamic

fun dynamic(provider: (CommandSender) -> List<String>)

Adds a runtime-computed set of completions from provider.


fun dynamic(provider: (CommandSender) -> List<String>, block: NodeBuilder.() -> Unit)

Adds runtime completions from provider with a nested sub-tree (for the next argument) via block.