mkit-cli 0.4.1

The mkit command-line tool: a content-addressed VCS with native attestation support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! `mkit` — CLI binary entry point.
//!
//! The dispatch itself lives in `mkit_cli::dispatch` so integration
//! tests can drive the same code path in-process without spawning a
//! subprocess.

use std::process::ExitCode;

use mkit_cli::{dispatch, signal};

fn main() -> ExitCode {
    signal::install();
    let argv: Vec<String> = std::env::args().collect();
    let code = dispatch(&argv);
    ExitCode::from(code)
}