diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 0000000..a8457a7 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,7 @@ +run +```bash +cargo build --release +``` +in this directory and find the binary file in ./target/release + +Have fun! \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index a2a7af9..c811bb6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,9 +13,13 @@ pub struct Args { /// The name of the file #[clap(short, long)] pub file: String, + /// The name of the standard slultion file (executable only) + #[clap(short, long)] + pub std: Option } fn main() { let params: Args = Args::parse(); + println!("{}","Generating in file...".color(Color::Blue)); for i in 1..=params.count { let mut data: File = File::create(format!("{}.in", i)).expect("Failed to create file"); let mut parser: Parser = Parser::new(params.clone().file);