summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2020-02-05 05:25:43 +0100
committerNao Pross <naopross@thearcway.org>2020-02-05 05:25:43 +0100
commit5ecfc36226e9d823ef4de16aca120964141be4b3 (patch)
tree2d43234e8697149eb796da84440cfae261dd4270 /src/main.rs
downloadrlg-5ecfc36226e9d823ef4de16aca120964141be4b3.tar.gz
rlg-5ecfc36226e9d823ef4de16aca120964141be4b3.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--src/main.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..884cbe5
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,11 @@
+mod journal;
+mod parser;
+
+use std::env;
+
+
+fn main() {
+ if let Some(fname) = env::args().nth(1) {
+ parser::parse(&fname);
+ }
+}