Skip to main content

load_command

Function load_command 

Source
pub fn load_command(dir: &Path) -> Result<CommandConfig, String>
Expand description

Load a command config from a sub-directory.

Applies the same .example/.dist fallback as find_config. If a schema: block is present, validates it before returning.