starweaver-cli 0.2.0

Command-line interface for Starweaver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Starweaver command-line entry point.

use std::process::ExitCode;

fn main() -> ExitCode {
    match starweaver_cli::run_from_env() {
        Ok(()) => ExitCode::SUCCESS,
        Err(error) => {
            eprintln!("error: {error}");
            ExitCode::from(2)
        }
    }
}