cardanowall-cli 0.2.0

The cardanowall CLI: a standalone Label 309 Proof-of-Existence verifier and toolkit.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! The `cardanowall` binary entry point.
//!
//! Parses argv with clap, dispatches to the command tree in the library crate,
//! and exits with the mapped exit code. All real logic lives in
//! [`cardanowall_cli`]; this file only owns process wiring.

use std::process::ExitCode;

fn main() -> ExitCode {
    let code = cardanowall_cli::run(std::env::args_os());
    // `ExitCode::from` takes a u8; the contract codes are 0..=4.
    ExitCode::from(code as u8)
}