summaryrefslogtreecommitdiff
path: root/tithe
diff options
context:
space:
mode:
Diffstat (limited to 'tithe')
-rwxr-xr-xtithe9
1 files changed, 9 insertions, 0 deletions
diff --git a/tithe b/tithe
new file mode 100755
index 0000000..2edf379
--- /dev/null
+++ b/tithe
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+args="li:me:church:tithe --auto --value=now,USD"
+
+case $1 in
+ "bal") hledger bal $args;;
+ "reg") hledger reg $args;;
+ *) hledger bal $args --output-format=json | jq '.[1][].aquantity.floatingPoint';;
+esac