Function write_to_file
Source pub fn write_to_file(output_path: &str, rendered: &str) -> Result<()>
Expand description
Writes the rendered template to a specified output file.
§Arguments
output_path - The path to the output file.
rendered - The rendered template string.
§Returns
Result<()> - An empty result indicating success or an error.