command

fun command(authorizedRoles: List<String>? = null, configure: CommandScope.() -> Command): Command

The command function can be used to build a command using a DSL.