[][src]Type Definition quill_prototype::CommandExecutor

type CommandExecutor = fn(state: &mut State, sender: EntityRef, args: &[&str]) -> SysResult;

A function that can be used as a command executor.

This is a temporary Bukkit-like command API. We'll figure out a more structured approach to commands (like Brigadier) in the future.