generated from OBJNULL/Dockerized-Rust
Added extra arg for Master CSV
This commit is contained in:
parent
d293452929
commit
bfa80e061c
1 changed files with 11 additions and 1 deletions
|
@ -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!(),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue