1 2 3 4 5 6 7 8 9 10 11 12 13 14
use clap::Parser; use std::process; use kdump::{run, CLIConfig}; fn main() { let config = CLIConfig::parse(); if let Err(e) = run(&config) { eprintln!("Application error: {}", e); process::exit(1); } }