()
| 1 | fn main() -> Result<(), anyhow::Error> { |
| 2 | /* |
| 3 | // Panic hook for easier debugging |
| 4 | panic::set_hook(Box::new(|panic_info| { |
| 5 | println!("Panic occurred: {}", panic_info); |
| 6 | println!("Add breakpoint here for debugging."); |
| 7 | })); |
| 8 | */ |
| 9 | |
| 10 | std::process::exit( |
| 11 | match splashsurf::cli::run_splashsurf(std::env::args_os().collect::<Vec<_>>().as_slice()) { |
| 12 | Ok(_) => 0, |
| 13 | Err(_) => 1, |
| 14 | }, |
| 15 | ); |
| 16 | } |
nothing calls this directly
no test coverage detected