prgf 0.1.1

An easy to configure CLI tool that creates files with content that the user specifies
Documentation
use std::process;

use prgf::ClInfo;

fn main() {
    // build the command line arguments
    let info = ClInfo::build().unwrap_or_else(|err| {
        // if an err is encountered print and exit program
        eprintln!("Problem parsing arguments: {err}");
        process::exit(1);
    });

    if let Err(err) = info.run() {
        // if err is encountered whie running print and exit
        eprintln!("Application error: {err}");
        process::exit(1);
    }

}