summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.py b/main.py
new file mode 100644
index 00000000..d1e6cb10
--- /dev/null
+++ b/main.py
@@ -0,0 +1,11 @@
+import sys
+
+from ledger import *
+
+parser = TextualParser ()
+register_parser (parser)
+
+journal = Journal ()
+parse_journal_file (sys.argv[1], journal)
+
+print journal[-1].payee