Added extra arg for Master CSV

This commit is contained in:
Maddox Werts 2025-04-18 18:33:24 -04:00
parent d293452929
commit bfa80e061c

View file

@ -60,6 +60,13 @@ impl Arguments {
.help("The path where your CSV files are") .help("The path where your CSV files are")
.action(ArgAction::Set) .action(ArgAction::Set)
.required(true), .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(); .get_matches();
@ -93,8 +100,11 @@ impl Arguments {
.get_one::<String>("directory") .get_one::<String>("directory")
.unwrap() .unwrap()
.to_owned(); .to_owned();
file_output = package_matches
.get_one::<String>("file_out")
.unwrap()
.to_owned();
file_input = String::new(); file_input = String::new();
file_output = String::new();
} }
_ => unreachable!(), _ => unreachable!(),
} }