pub fn run_config_validate(path: Option<&str>) -> Result<()>
Validate config file.
Returns an error if the config cannot be loaded or fails validation.