hledger/bin
Mykola Orliuk 7437c96ff6 Make hledger-rewrite tool suitable for re-factoring original journals (#490)
* cli: fix bug in pivot for postings without tag

Without this fix for postings without tag query checked effective
account which is always empty text ("").

* rewrite: inherit dates, change application order

For budgeting it is important to inherit actual date of posting if it
differs from date of transaction. These dates will be added
as a separate line of comment.

More natural order of rewrites is when result of first defined one is
available for all next rewrites.

* rewrite: factor out Hledger.Data.AutoTransaction

* rewrite: add diff output

With this option you can modify your original files without loosing
inter-transaction comments etc. I.e. you can run:

hledger-rewrite --diff Agency \
  --add-posting 'Expenses:Taxes  *0.17' \
  | patch

As result multiple files should be updated.
Also it is nice to review your changes using colordiff instead of
patch.

* lib: track source lines range for journal

* doc: auto entries and diff output for rewrite
2017-01-20 07:33:24 -08:00
..
.gitignore txnTieKnot fix (~10% memory reduce) (#483) 2017-01-16 07:42:41 -08:00
aliases.sh move add-ons and scripts to bin/ 2017-01-08 07:28:23 -08:00
budget-rewrite.sh bin: add budget-rewrite.sh example 2017-01-08 07:28:23 -08:00
compile.sh addons: in bin/compile.sh, ensure hledger-chart's extra deps are installed 2017-01-16 14:25:10 -08:00
csv.mk move add-ons and scripts to bin/ 2017-01-08 07:28:23 -08:00
hledger-autosync bin: add hledger-autosync symlink as an example 2017-01-08 07:28:23 -08:00
hledger-chart.hs chart: revive hledger-chart as an add-on 2017-01-09 07:31:45 -08:00
hledger-check-dates.hs bin: add-ons compile script 2017-01-08 10:24:40 -08:00
hledger-dupes.hs chmod a+x (#464) 2017-01-09 12:09:16 -08:00
hledger-equity.hs equity: sync help message with doc 2017-01-19 08:26:03 -08:00
hledger-print-unique.hs bin: add-ons compile script 2017-01-08 10:24:40 -08:00
hledger-register-match.hs bin: add-ons compile script 2017-01-08 10:24:40 -08:00
hledger-rewrite.hs Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
README bin: add-ons compile script 2017-01-08 10:24:40 -08:00

hledger add-on commands, hledger-related scripts, developer builds.

Scripts named hledger-* are hledger add-on commands. The ones in this
bin/ directory are tested along with hledger, but shipped as add-ons
rather than built-in commands because they are experimental, or
for some other reason.

Add this directory to your $PATH and they will show up as commands
listed by hledger (or, you can run them directly).
To speed them up (recommended), compile them:

$ bin/compile.sh

When using hledger to run add-on commands, remember to use a --
before add-on-specific options or hledger will complain. Like so:

$ hledger [HLEDGEROPTS] ADDONCMD [-- ADDONOPTS]

See also http://hledger.org/hledger.html#add-on-commands .

hledger-related bash scripts, example make rules etc. are also kept here.
And hledger developer binaries may get stored here,
such as old versions for benchmarking, and platform-specific binaries.