caelix-cli 0.0.5

Command line generator for Caelix applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::process::ExitCode;

fn main() -> ExitCode {
    match caelix_cli::run_from_env() {
        Ok(output) => {
            print!("{output}");
            ExitCode::SUCCESS
        }
        Err(err) => {
            eprintln!("error: {err}");
            ExitCode::FAILURE
        }
    }
}