20 lines
1.1 KiB
Markdown
20 lines
1.1 KiB
Markdown
Miscellaneous hledger add-ons, bash scripts, example make rules, etc.
|
|
The Makefile may also store hledger developer binaries here.
|
|
|
|
hledger-*.hs are example/experimental hledger add-on commands, shipped as executable stack scripts.
|
|
Add this directory to $PATH and they will show up in hledger's commands list.
|
|
You can run them directly and they will install required dependencies and run in interpreted mode.
|
|
Or you can compile them to run faster (recommended) using `stack ghc` or the `bin/compile.sh` script.
|
|
201907: These scripts are tested infrequently and in need of update.
|
|
They are:
|
|
|
|
- hledger-check.hs - check more complex account balance assertions
|
|
- hledger-smooth.hs - an attempt at automatically splitting infrequent/irregular transactions
|
|
- hledger-swap-dates.hs - swap all date and date2 fields
|
|
|
|
A reminder from http://hledger.org/hledger.html#add-on-commands :
|
|
when using the main hledger executable to run add-on commands, remember
|
|
to put a -- before the add-on's options, or hledger will complain. Eg, do:
|
|
|
|
$ hledger [HLEDGEROPTS] ADDONCMD [-- ADDONOPTS]
|