brouter_cli 0.0.1-alpha.0

Command-line interface for brouter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![cfg_attr(feature = "fail-on-warnings", deny(warnings))]
#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)]
#![allow(clippy::multiple_crate_versions)]

use std::process::ExitCode;

#[tokio::main]
async fn main() -> ExitCode {
    match brouter_cli::run_cli().await {
        Ok(()) => ExitCode::SUCCESS,
        Err(error) => {
            eprintln!("brouter error: {error:#}");
            ExitCode::from(1)
        }
    }
}