Skip to main content

espforge_lib/examples/
ui.rs

1use crate::cli::model::ExportResult;
2
3pub struct ResultPrinter;
4
5impl ResultPrinter {
6    pub fn display_success(result: &ExportResult) {
7        println!(
8            "\n✨ Success! Project initialized in '{}'",
9            result.project_name
10        );
11        println!("To compile the project:");
12        println!("  cd {}", result.project_name);
13        println!("  espforge compile {}", result.output_file);
14    }
15}