1 2 3 4 5 6 7 8 9 10 11 12 13
use rustypaste_cli::args::Args; use std::process; pub fn main() { let args = Args::parse(); match rustypaste_cli::run(args) { Ok(_) => process::exit(0), Err(e) => { eprintln!("{e}"); process::exit(1) } } }