lanzaboote/rust/lanzatool/src/main.rs

22 lines
287 B
Rust

mod bootspec;
mod cli;
mod esp;
mod install;
mod pe;
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(())
}