Skip to main content

CommandParser

Type Alias CommandParser 

Source
pub type CommandParser = fn(BTreeMap<String, Value>) -> Result<Box<dyn Command>, DslError>;
Expand description

Parses a command’s kwargs into a boxed payload of type T. The registry stores one monomorphization of this per command.