diff options
author | Ben Sima <ben@bsima.me> | 2021-10-14 16:20:16 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-10-14 16:20:16 -0400 |
commit | 0aaa6c0439c6a04f8806bdfe9a26d7ba58415da0 (patch) | |
tree | fea5da7909704dab34ad1484158ee3156e1e71d3 /tithe | |
parent | 2a50c65dcb5657c0ebaa8a7145372fd699800dac (diff) |
add tithe to hledger overview
Diffstat (limited to 'tithe')
-rwxr-xr-x | tithe | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |