byteblitz 1.0.0

A tool to examine the binary contents of files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use byteblitz::config::Config;
use std::env;
use std::process;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let args: Vec<String> = env::args().collect();
    let config = Config::new(&args).unwrap_or_else(|err| {
        println!("Problem parsing arguments: {err}");
        process::exit(1);
    });
    if let Err(e) = byteblitz::run(config) {
        println!("Application error: {e}");
        process::exit(1);
    }
    Ok(())
}