Go to file
Simon Michael 724fb9961d check: new command incorporating check-dates, check-dupes, etc.
This is intended to work in three modes:

- hledger check: just run the standard data checks, like all other
commands but with no output on success. Equivalent to
hledger stats >/dev/null but simpler and platform-independent.

- hledger check --strict: run the standard + strict data checks,
like other commands in strict mode.

- hledger check CHECK1 CHECK2 ...: run the named checks. This allows
running more or less checks than the default or strict mode, or
a single check of interest. The arguments are standard lowercase names
for the checks. For now this command supports two checks: "dates" and
"leafnames". These are equivalent to the check-dates and check-dupes
commands which are now hidden and considered deprecated, though
still supported for the moment.

This command needs more work and I'm rushing it a little, but I think
it's the right direction and I'd like to put it out there to get
feedback.
2020-11-29 13:27:35 -08:00
.github ;ci: fix missing changes for moved tests 2020-11-22 09:48:46 -08:00
.sandstorm Add --capabilities-header to launcher.sh 2018-06-24 17:44:22 +02:00
bin bin: rename hledger-check* per "How to check for errors" 2020-11-27 12:29:54 -08:00
checks
doc strict mode: -s/--strict requires posted accounts to be declared 2020-11-26 08:48:16 -08:00
docker package: added helper scripts in docker/ 2019-01-31 12:44:12 -08:00
examples ;examples: update some budget examples 2020-11-20 16:53:08 -08:00
hledger check: new command incorporating check-dates, check-dupes, etc. 2020-11-29 13:27:35 -08:00
hledger-install ;install: update versions 2020-09-08 07:11:12 -07:00
hledger-lib journal: strict mode also requires commodity declarations 2020-11-27 17:54:55 -08:00
hledger-ui ;update manuals 2020-11-26 08:52:56 -08:00
hledger-web ;update manuals 2020-11-26 08:52:56 -08:00
shell-completion Update shell completion for current master (v1.19) 2020-09-06 17:11:59 -07:00
tools ;doc: don't add page TOCs any more, sphinx has it covered 2019-08-26 09:37:03 -07:00
.appveyor.yml Fix typos 2019-12-21 12:09:05 -08:00
.ci ;api: another round of hledger-api purging; fix the build 2019-09-11 14:49:22 -07:00
.ctags cli, lib: move functional tests into hledger/test/ 2020-11-16 08:47:41 -08:00
.dockerignore package: added Dockerfile 2019-01-29 16:14:03 -08:00
.editorconfig fix datepicker not closing, linting 2017-12-30 13:44:40 -05:00
.ghci tools: use pretty-simple for ghci output 2020-11-03 08:19:01 -10:00
.gitignore web: --test [-- HSPECARGS] runs the test suite 2020-11-16 14:02:16 -08:00
.hlint.yaml refactor: lib: hlint cleanups 2019-02-14 05:15:49 -08:00
.mailmap doc: use consistent spelling of Mykola Orliuk 2017-03-27 05:47:15 -07:00
.travis.yml ;travis: disable travis notifications to #hledger 2020-02-29 13:30:15 -08:00
.version ; bump hledger-lib, hledger, hledger-ui, hledger-web version to 1.19.99 2020-09-07 12:16:12 -07:00
azure-pipelines.yml ;api: another round of hledger-api purging; fix the build 2019-09-11 14:49:22 -07:00
bench.sh benchmarks: add some large (140, 1400 columns) tabular reports 2020-11-03 17:30:10 -10:00
cabal.project ;re-enable doctest suite, with a workaround for cabal 3 (#1139) 2020-03-06 18:30:32 -08:00
CHANGES.md ;update changelogs 2020-11-24 09:39:05 -08:00
CONTRIBUTING.md Revert the rename of check-dupes 2020-11-28 15:32:07 -08:00
CREDITS.md ;doc: CREDITS cleanup 2020-03-21 18:37:49 -07:00
dev.hs collect some langage pragmas in dev.hs 2019-02-20 18:08:33 -08:00
Dockerfile ;api: another round of hledger-api purging; fix the build 2019-09-11 14:49:22 -07:00
hie.yaml ;more budget-related cleanup 2020-11-18 16:29:04 -08:00
LICENSE
Makefile cli, lib: move functional tests into hledger/test/ 2020-11-16 08:47:41 -08:00
Makefile.helpsys make: rename sub-makefiles; start moving site script to make/shake 2019-03-05 18:43:04 -08:00
README.md ;doc: readme: drop badges header 2020-08-21 08:18:26 -07:00
ROADMAP.md ;roadmap: status 2020-08-29 14:45:50 -07:00
Shake.hs Shake cabalfiles: give an error when this fails 2020-11-10 08:06:03 -08:00
stack7.10.yaml.disabled ;simplify stack.yaml filenames 2020-03-30 15:35:53 -07:00
stack8.0.yaml add missing dep for other stack snapshots; also bump GHC 8.10 to .2 2020-11-11 12:52:44 -08:00
stack8.2.yaml add missing dep for other stack snapshots; also bump GHC 8.10 to .2 2020-11-11 12:52:44 -08:00
stack8.4.yaml add missing dep for other stack snapshots; also bump GHC 8.10 to .2 2020-11-11 12:52:44 -08:00
stack8.6.yaml add missing dep for other stack snapshots; also bump GHC 8.10 to .2 2020-11-11 12:52:44 -08:00
stack8.10.yaml add missing dep for other stack snapshots; also bump GHC 8.10 to .2 2020-11-11 12:52:44 -08:00
stack.yaml stack: ghc-options notes 2020-11-16 14:41:52 -08:00

hledger project README

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 terminal and web interfaces, and a Haskell library 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 the home page: https://hledger.org

Sponsorship

Your support, large or small, helps keep this project strong!
See also https://hledger.org#sponsorship.

Sponsor Simon (project leader): github liberapay paypal

Sponsor the hledger project as an organisation: OpenCollective

Sponsor the hledger project as an individual: OpenCollective

Bounties for specific tasks: all bounties bountysource bounties




license hledger CI on hackage github issues