From bfa80e061cb8a24d9cf10e69c0d1e7bd662bab9d Mon Sep 17 00:00:00 2001 From: OBJNULL Date: Fri, 18 Apr 2025 18:33:24 -0400 Subject: [PATCH] Added extra arg for Master CSV --- project/src/args.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/project/src/args.rs b/project/src/args.rs index 90dca94..2f67f3d 100644 --- a/project/src/args.rs +++ b/project/src/args.rs @@ -60,6 +60,13 @@ impl Arguments { .help("The path where your CSV files are") .action(ArgAction::Set) .required(true), + ) + .arg( + Arg::new("file_out") + .id("file_out") + .help("The path where the master CSV is saved") + .action(ArgAction::Set) + .required(true), ), ) .get_matches(); @@ -93,8 +100,11 @@ impl Arguments { .get_one::("directory") .unwrap() .to_owned(); + file_output = package_matches + .get_one::("file_out") + .unwrap() + .to_owned(); file_input = String::new(); - file_output = String::new(); } _ => unreachable!(), }