hledger/hledger
Simon Michael 029b59093b feat: csv: rules files can be read directly; data file can be specified
CSV rules files can now be read directly, eg you have the option of
writing `hledger -f foo.csv.rules CMD`. By default this will read data
from foo.csv in the same directory.  But you can also specify a
different data file with a new `source FILE` rule. This has some
convenience features:

- If the data file does not exist, it is treated as empty, not an
  error.

- If FILE is a relative path, it is relative to the rules file's
  directory. If it is just a file name with no path, it is relative
  to ~/Downloads/.

- If FILE is a glob pattern, the most recently modified matched file
  is used.

This helps remove some of the busywork of managing CSV downloads.
Most of your financial institutions's default CSV filenames are
different and can be recognised by a glob pattern.  So you can put a
rule like `source Checking1*.csv` in foo-checking.csv.rules,
periodically download CSV from Foo's website accepting your browser's
defaults, and then run `hledger import checking.csv.rules` to import
any new transactions. The next time, if you have done no cleanup, your
browser will probably save it as something like Checking1-2.csv, and
hledger will still see that because of the * wild card. You can choose
whether to delete CSVs after import, or keep them for a while as
temporary backups, or archive them somewhere.
2023-05-19 09:09:21 -10:00
..
app cli: fix a build failure with ghc 9.0 (#1503) 2021-03-12 06:59:43 -08:00
bench ;review, tag all error calls with an easier to find PARTIAL: comment (#1312) 2020-08-05 16:08:33 -07:00
embeddedfiles imp: demo: nicer output, show clearer start/stop indicators, don't show "exit" 2023-03-18 20:06:24 -10:00
Hledger feat: csv: rules files can be read directly; data file can be specified 2023-05-19 09:09:21 -10:00
shell-completion Update bash completions 2022-04-17 14:48:09 -10:00
test fix!: csv: skip now counts non-blank lines more robustly (fix #2024) 2023-05-11 17:06:12 -10:00
.date.m4 fix: doc: update manuals; regenerate all info manuals (fix #2023) 2023-04-06 14:13:39 -10:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
.version ;pkg: bump version to 1.29.99 2023-03-11 13:27:25 -10:00
.version.m4 ;pkg: bump version to 1.29.99 2023-03-11 13:27:25 -10:00
CHANGES.md ;doc: 1.29 relnotes: slight edit 2023-04-25 12:38:42 -10:00
dir-entry.texi ;fix: doc: info: avoid directory paths in directory metadata (#1594) 2021-07-14 09:07:56 -10:00
hledger.1 ;doc: update manuals 2023-04-07 09:52:29 -10:00
hledger.cabal ;cabal: update cabal files 2023-03-16 21:58:38 -10:00
hledger.info ;doc: update manuals 2023-04-07 09:52:29 -10:00
hledger.m4.md feat: csv: rules files can be read directly; data file can be specified 2023-05-19 09:09:21 -10:00
hledger.txt ;doc: update manuals 2023-04-07 09:52:29 -10:00
LICENSE packagegeddon.. split off web/chart/vty, move hledger to a subdir 2010-09-09 22:54:34 +00:00
package.yaml feat: embed some asciinema demos, and a demo command to play them 2023-03-16 21:58:38 -10:00
README.md ;doc: more tweaks to package readmes, hackage descriptions 2020-03-22 10:49:02 -07:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00

hledger

The command-line interface for the hledger accounting system. Its basic function is to read a plain text file describing financial transactions and produce useful reports.

See also: the project README and home page.