;examples: some sample hledger run scripts

This commit is contained in:
Simon Michael 2025-02-13 16:21:14 -10:00
parent d84050ec05
commit d68a832d1c
2 changed files with 38 additions and 0 deletions

19
examples/reports1.hledger.sh Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env hledger run
# (or env -S if needed)
REPORTS 1
---------
echo
FILES:
files
echo
STATS:
stats
echo
BALANCESHEET:
bs --depth 2
echo

19
examples/reports2.hledger.sh Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env hledger run
# (or env -S if needed)
REPORTS 2
---------
echo
List of accounts
accounts --depth 2
echo
Assets
balance assets --depth 2
echo
Liabilities
balance liabilities --depth 3
echo