GeosCoin 0.1.1

A fun game where you guess what number the computer has chosen.
Documentation
use std::env;
use std::process;

use GeosCoin::Config;
use GeosCoin::run;

fn main() {
    let args: Vec<String> = env::args().collect();
    
    let cfg : Config = Config::build(env::args()).unwrap_or_else(|err|{
        eprintln!("Problem parsing arguments: {err}");
        process::exit(0);
    });

    if let Err(e) = run(&cfg) {
        eprintln!("Application err: {e}");
        process::exit(0);
    }

}