rust_test_123 0.1.1

just testing rust right now
Documentation
use rust_test_123::Config;
use std::env;
use std::process;

mod lib;

// fn main() {
//     let x = vec![1, 2, 3, 5, 4];

//     let equal_to_x = |z| z == x;

//     // println!("can't use x here: {:?}", x);

//     let y = vec![1, 2, 3, 4, 5];

//     println!("Is this the same? {}", x == y);

//     assert!(equal_to_x(y));
// }

fn main() {
    // let args: Vec<String> = env::args().collect();

    // let config = Config::new(&args).unwrap_or_else(|err| {
    //     eprintln!("Problem parsing arguments: {}", err);
    //     process::exit(1);
    // });

    let config = Config::new(env::args()).unwrap_or_else(|err| {
        eprintln!("Problem parsing arguments: {}", err);
        process::exit(1);
    });

    if let Err(_e) = rust_test_123::run(config) {
        eprintln!("Could not read contents of file");
        process::exit(1);
    }
}