diff options
| author | Zach DeCook <zachdecook@librem.one> | 2026-09-11 20:44:47 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2026-09-11 20:44:47 -0400 |
| commit | b1c11ecfd4f9b6afffcfadc781de6c62972c1bac (patch) | |
| tree | a955d961d1868697500045861d67254bc75ce88d /weekly.sh | |
| download | hledger-b1c11ecfd4f9b6afffcfadc781de6c62972c1bac.tar.gz | |
hledger: Add scripts and rules
Diffstat (limited to 'weekly.sh')
| -rwxr-xr-x | weekly.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/weekly.sh b/weekly.sh new file mode 100755 index 0000000..7500fa1 --- /dev/null +++ b/weekly.sh @@ -0,0 +1,11 @@ +#!/bin/sh +file="2025-lmcu-checking-statements.csv" +if test "$1"; then + file="$1" +fi +rules="lmcu-checking.csv.rules" +if test "$2"; then + rules="$2" +fi + +hledger -f"$file" --rules "$rules" balance -W --begin "$(date "+%Y-%m-01")" #--begin="last month" |
