feat(demo): restore HTML report generation in eurovent demo

This commit is contained in:
Sepehr 2026-02-20 22:04:11 +01:00
parent 4a40fddfe3
commit c7edf0d540

View File

@ -296,5 +296,14 @@ fn main() {
println!(" - Phase: {:?}", state.phase);
}
// --- 6. HTML Report ---
print_header("6. HTML Report Generation");
let html_content = include_str!("../../eurovent_report.html");
if let Ok(dir) = std::env::current_dir() {
let path = dir.join("eurovent_report.html");
std::fs::write(&path, html_content).unwrap();
println!(" {} Detailed HTML report written to: {}", "".green(), path.display());
}
println!("\n{}", "".repeat(70).cyan());
}