pub fn start(args: AppArgs)
{
	let data: Data = match read_file(&args.file_path)
	{
		Ok(v) => v,
		Err(e) => {
			println!("error while reading file: {}", e);
			return;
		}
	};
	print(data, args);
}
//read the file and start the print loop
read the file and start the print loop
read the file and start the print loop
pub fn start(args: AppArgs)
{
	let data: Data = match read_file(&args.file_path)
	{
		Ok(v) => v,
		Err(e) => {
			println!("error while reading file: {}", e);
			return;
		}
	};
	print(data, args);
}
pub fn start ( args : AppArgs ) { let data : Data = match read_file ( & args . file_path ) { Ok ( v ) => v , Err ( e ) => { println ! ( " " e ) ; return ; } } ; print ( data , args ) ; }
read the file and start the print loop
read the file and start the print loop
args
AppArgs
args
AppArgs