CommandExecutor

typealias CommandExecutor = (CommandContext<CommandSourceStack>) -> Int

Type alias for a command execution function. Takes a CommandContext and returns an integer result code. A return value of 1 indicates success, 0 indicates failure.