aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..2b4e6c5
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,12 @@
+use std::env;
+
+pub mod symbols;
+// pub mod tree;
+//
+use symbols::Tree;
+
+fn main() {
+ let file_path = env::args().nth(1).unwrap();
+ let tree = Tree::from_file(&file_path).unwrap();
+ tree.put();
+}