pub fn load(path: &Path) -> Result<Option<TasksFile>, Vec<ConfigError>>Expand description
Load and validate tasks.yaml from the given path.
- Returns
Ok(None)if the file does not exist — a missing tasks file is not an error. - Returns
Ok(Some(file))if parsing and validation both succeed. - Returns
Err(errors)with one or moreConfigErrors on failure.