Skip to main content

bind_commands

Function bind_commands 

Source
pub fn bind_commands(registry: &Registry, cx: &mut App) -> Vec<String>
Expand description

Gives the registry’s commands their keys from [commands] (the first key the file names; the defaults are the commands’ own) and binds them (Registry::bind_keys). Returns what could not be bound.