diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index b1465cb..423a643 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,2 +1,6 @@ let pattern = std::env::args().nth(1).expect("no pattern given"); let path = std::env::args().nth(2).expect("no path given"); +let args = Cli { + pattern: pattern, + path: std::path::PathBuf::from(path), +}; |