macro_rules! macro_generate_from_yaml {
    ($yaml_path:expr) => { ... };
}
Expand description

Attempts to generate file templates from a YAML file.

§Arguments

  • $yaml_path - The path to the YAML file as a string slice.

§Returns

Returns a Result<(), String> indicating the success or failure of file generation. If successful, returns Ok(()). If an error occurs, returns Err with an error message.