1 2 3 4 5 6 7 8 9 10 11 12 13
use clap::Parser; use grepr::*; use std::process; fn main() { let args = CommandArgs::parse(); if let Err(e) = args.run() { println!("Application error: {e}"); process::exit(1); } }