read args given to sv
This commit is contained in:
parent
2291e62e50
commit
3c18c49ea0
1 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
|
||||
use std::env;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world! test");
|
||||
let args: Vec<String> = env::args().collect();
|
||||
dbg!(args);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue