moonlight-cli 0.1.2

Compare command behavior against one or two reference commands.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[tokio::main]
async fn main() -> std::process::ExitCode {
    match moonlight_cli::run_cli().await {
        Ok(code) => code,
        Err(error) => {
            eprintln!("Error: {error:#}");
            error
                .downcast_ref::<moonlight_cli::ExitCodeError>()
                .map(|error| std::process::ExitCode::from(error.code()))
                .unwrap_or(std::process::ExitCode::from(1))
        }
    }
}