mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-29 13:22:27 +03:00
a5cae2a859
Hashbangs and CPP on mac don't mix well. https://gitlab.haskell.org/ghc/ghc/issues/6132 [ci skip] |
||
---|---|---|
.. | ||
_hledger-chart.hs | ||
.gitignore | ||
aliases.sh | ||
budget-rewrite.sh | ||
compile.sh | ||
csv.mk | ||
hledger-check.hs | ||
hledger-smooth.hs | ||
hledger-swap-dates.hs | ||
README.md |
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:
- hledger-check.hs - check more complex account balance assertions
- hledger-smooth.hs - an attempt at automatically splitting infrequent/irregular transactions
- hledger-swap-dates.hs - print transactions with their date and date2 fields swapped
You can run them directly and they will install required dependencies and run in interpreted mode.
Or you can compile them to run faster using stack ghc SCRIPT
or
bin/compile.sh
.
Add this directory to $PATH and they will show up in hledger's commands list.
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]