coop-cli 0.1.1

Fire remote jobs down a private ssh channel nothing else can contend with.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;

fn main() {
    let cli = coop::cli::Cli::parse();
    match coop::cli::dispatch(cli) {
        Ok(code) => std::process::exit(code),
        Err(e) => {
            // `{:#}` so the whole context chain surfaces; the outermost frame
            // alone routinely hides the actual cause.
            eprintln!("coop: {e:#}");
            std::process::exit(coop::errors::exit_code(&e));
        }
    }
}