A reliable, user-friendly Plain Text Accounting tool with command line, terminal and web interfaces.
Go to file
Simon Michael 372a2d768b register: use full width, column widths, cleanup
Refactored and enhanced the --width option used by register (and other
commands in future). register now uses the full terminal width by
default except on windows. Specifically, the output width is set from:

1. a --width option
2. or a COLUMNS environment variable (NB: not the same as a bash shell var)
3. or on POSIX (non-windows) systems, the current terminal width
4. or the default, 80 characters.

Also, register now accepts a description column width as part of
--width's argument, comma-separated (--width W,D). This adjusts the
relative widths of register's description and account columns, which are
normally about half of (W-40):

<--------------------------------- width (W) ---------------------------------->
date (10)  description (D)       account (W-41-D)     amount (12)   balance (12)
DDDDDDDDDD dddddddddddddddddddd  aaaaaaaaaaaaaaaaaaa  AAAAAAAAAAAA  AAAAAAAAAAAA

Examples:
$ hledger reg                 # use terminal width on posix
$ hledger reg -w 100          # width 100, equal description/account widths
$ hledger reg -w 100,40       # width 100, wider description
$ hledger reg -w $COLUMNS,100 # terminal width and set description width
2015-01-19 13:48:37 -08:00
bin doc: more consistent README file extensions 2014-10-31 16:16:41 -07:00
checks tools: dev setup/test updates 2014-08-13 17:48:24 -07:00
data balance: new multi-column reports & documentation 2013-12-07 05:43:31 -08:00
doc document --output-format and --output-file (fix #233) 2015-01-16 16:52:59 -08:00
extra lib: add eof parsing checks 2015-01-11 09:45:55 -08:00
hledger register: use full width, column widths, cleanup 2015-01-19 13:48:37 -08:00
hledger-lib fix rendering of week 52 heading in weekly reports 2015-01-18 09:32:14 -08:00
hledger-web doc: forgot add release date to changelogs 2015-01-10 17:03:44 -08:00
tests fix balance accumulation across assertions (#195) 2015-01-10 22:17:19 -08:00
tools tools: fix warnings in simplebench 2014-10-19 09:34:46 -07:00
.gitignore git ignore profs, .hpc files 2014-10-31 16:33:55 -07:00
.version bump version to 0.25-unreleased 2014-12-26 11:08:20 -08:00
buildSandbox.sh make buildSandbox.sh executable 2014-05-22 14:21:27 -07:00
LICENSE add LICENSE 2008-10-01 07:52:07 +00:00
Makefile register: use full width, column widths, cleanup 2015-01-19 13:48:37 -08:00
README.md remove another old link 2014-05-08 13:20:22 -07: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 is also a web interface 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.