From 0aaa6c0439c6a04f8806bdfe9a26d7ba58415da0 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 14 Oct 2021 16:20:16 -0400 Subject: add tithe to hledger overview --- tithe | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 tithe (limited to 'tithe') 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 -- cgit v1.2.3