clankers-cli 0.1.1

Command-line interface for clankeRS
1
2
3
4
5
6
7
8
use anyhow::Result;
use clankers_data::{format_inspect_report, McapLog};

pub fn execute(file: &str) -> Result<()> {
    let log = McapLog::open(file).map_err(|e| anyhow::anyhow!("{e}"))?;
    print!("{}", format_inspect_report(log.report()));
    Ok(())
}