lanzaboote/rust/lanzatool/src/main.rs

19 lines
255 B
Rust
Raw Normal View History

2022-11-21 19:29:16 -05:00
mod cli;
mod crypto;
use std::process;
use anyhow::Result;
use clap::Parser;
use cli::Cli;
fn main() -> Result<()> {
let cli = Cli::parse();
if let Err(e) = cli.call() {
eprintln!("{}", e);
process::exit(1)
};
Ok(())
}