fn main() {
    let result = dioprism_cli::run_from(std::env::args_os().skip(1));

    if let Err(error) = result {
        eprintln!("dioprism-cli: {error}");
        dioprism_cli::print_help();
        std::process::exit(2);
    }
}
