Go to file
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
bin Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
checks update dev setup tests 2015-03-16 17:59:06 -07:00
doc doc: document new --pivot 2017-01-16 15:53:51 -08:00
examples move extra/ data files to examples 2017-01-08 07:26:14 -08:00
hledger Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
hledger-api regenerate cabal files with hpack 2017-01-16 14:23:47 -08:00
hledger-lib Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
hledger-ui doc: document new --pivot 2017-01-16 15:53:51 -08:00
hledger-web doc: document new --pivot 2017-01-16 15:53:51 -08:00
site site: download: list more addons, less verbosely 2017-01-16 14:26:52 -08:00
tests Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
tools tools: some pandoc filter fixes 2017-01-10 12:36:15 -08:00
.gitignore move add-ons and scripts to bin/ 2017-01-08 07:28:23 -08:00
.mailmap tools: mailmap file to clean up git log authors 2017-01-12 09:25:49 -08:00
.travis.yml travis: add --no-haddock-deps, should work now 2016-05-06 18:16:59 -07:00
.version bump version to 1.1.98 (1.2 alpha) 2017-01-05 10:43:06 -08:00
appveyor.yml tools: temporary workaround for appveyor failures 2017-01-16 08:57:38 -08:00
cabal-install.sh stack/cabal cleanups; drop GHC 7.6, 7.8 support 2016-10-21 14:47:22 -07:00
cabal.project Add a cabal.project file (#411) 2016-10-05 07:15:13 -10:00
dev.hs rename data/ to examples/ 2017-01-08 07:26:13 -08:00
help-system.mk tools: makefile help system improvements 2015-07-12 12:29:53 -07:00
HLint.hs tools: capitalise HLint.hs 2016-08-08 08:31:46 -07:00
LICENSE add LICENSE 2008-10-01 07:52:07 +00:00
Makefile rename data/ to examples/ 2017-01-08 07:26:13 -08:00
Makefile.old tools: archive old Makefile and start afresh 2015-07-12 12:29:53 -07:00
README.md add backers&sponsors from Open Collective (#470) 2017-01-12 16:37:49 -08:00
Shake.hs tools: move pandoc filters out of docs/ 2017-01-10 08:49:05 -08:00
stack-ghc7.8.yaml.old stack/cabal cleanups; drop GHC 7.6, 7.8 support 2016-10-21 14:47:22 -07:00
stack-ghc7.10.yaml stack: bump brick to 0.15.2 to allow hledger-iadd install in hledger dir 2017-01-08 11:44:53 -08:00
stack.yaml Updated hledger-ui to use brick-0.16 (#479) 2017-01-14 10:41:46 -08:00

hledger

lightweight, portable, dependable accounting tools

hledger is a computer program for easily tracking money, time, or other commodities, on unix, mac and windows (and web-capable mobile devices, to some extent).

It is first a command-line tool, but there are also curses-style and web interfaces, and a Haskell library (http://hackage.haskell.org/package/hledger-lib) for building your own programs and scripts (hledger is written in Haskell). hledger was inspired by and is largely compatible with Ledger. hledger is free software available under the GNU General Public License v3+.

hledger aims to help both computer experts and regular folks to gain clarity and control in their finances and time management, but currently it is a bit more suited to techies. I use it every day to:

  • track spending and income
  • see time reports by day/week/month/project
  • get accurate numbers for client billing and tax filing
  • track invoices

Though limited in features, hledger is lightweight, usable and reliable. For some, it is a simpler, less distracting, more future-proof alternative to Quicken or GnuCash.

For more, see http://hledger.org.

##Support

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

license hackage release stackage LTS package

travis build status hackage upper bounds github issues bountysource OpenCollective OpenCollective