summaryrefslogtreecommitdiff
path: root/rust/theBook/chapter-12-command-line-project/minigrep/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/theBook/chapter-12-command-line-project/minigrep/src')
-rw-r--r--rust/theBook/chapter-12-command-line-project/minigrep/src/main.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/theBook/chapter-12-command-line-project/minigrep/src/main.rs b/rust/theBook/chapter-12-command-line-project/minigrep/src/main.rs
new file mode 100644
index 0000000..ae7def5
--- /dev/null
+++ b/rust/theBook/chapter-12-command-line-project/minigrep/src/main.rs
@@ -0,0 +1,6 @@
+use std::env;
+
+fn main() {
+ let args: Vec<String> = env::args().collect();
+ dbg!(args);
+}