1 2 3 4 5 6 7 8 9 10 11 12
#![windows_subsystem = "windows"] use claui::clap::Command; fn main() { let command = Command::new("Panic Example"); claui::run(command, |_| { panic!("This is a panic message."); }) .unwrap(); }