Skip to content
Snippets Groups Projects
Commit e2322f01 authored by y.zobus's avatar y.zobus
Browse files

further work necessary

parent 0b8cc9dd
No related branches found
No related tags found
1 merge request!12Resolve "Create command line tool for analysis"
Pipeline #7557 failed
......@@ -18,8 +18,15 @@ pub struct Args {
/// analyzer type that should be used to analyze the optical setup
#[arg(short, long)]
pub analyzer: String,
}
/// flag to define whether a report should be created or not
#[arg(short, long)]
report: Option<String>,
/// path to the report destination. if not defined, same directory as the filepath for the optical setup is used
#[arg(short, long)]
path_to_report: Option<String>,
}
#[derive(Parser, StructOpt)]
......@@ -31,6 +38,14 @@ pub struct PartialArgs {
/// analyzer type that should be used to analyze the optical setup
#[arg(short, long)]
analyzer: Option<String>,
/// flag to define whether a report should be created or not, defafult yes
#[arg(short, long)]
report: Option<String>,
/// path to the report destination. if not defined, same directory as the filepath for the optical setup is used
#[arg(short, long)]
path_to_report: Option<String>,
}
fn user_prompt(prompt: &str, check_flag: &str, err_count: &mut usize) -> Result<String>{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment