An hledger/ledger-cli workflow focusing on automated statement import and classification
GPL-3.0 License
Bot releases are hidden (Show)
I made some changes that will result in some formatting changes in some of the generated files:
Removed the obsolete exclamation mark from the include
directive
Switched from hledger print
to hledger import
during statement import.
hledger import
uses your preferred commodity styles from your
directives.journal to generate journals.
Other changes:
Published by apauley over 3 years ago
Published by apauley over 3 years ago
Ensure that generated include files only contain files ending with .journal
Fixes #92
Published by apauley about 4 years ago
Add an optional --start-year
command-line option for imports:
Import only from the specified year and onwards, ignoring previous years.
Valid values include a 4-digit year or 'current' for the current year.
Published by apauley about 4 years ago
--enable-future-rundir
the default, and deprecate the command-line option. To be removed in a future release.Published by apauley about 4 years ago
Add a new performance-related command-line option to import: --new-files-only
. PR #89
Don't regenerate transaction files if they are
already present. This applies to hledger journal
files as well as files produced by the preprocess and
construct scripts.
Generate monthly versions of the income statement in reports. A contribution by Max Linke
Switch some usages of system-filepath over to path
hledger-flow started as a collection of bash scripts that I translated into Haskell with the help of Turtle.
Turtle uses the now deprecated system-filepath to represent all paths.
I've had many filepath-related issues in hledger-flow.
They were related to issues such as that 2 instances of the same directory would not be treated as equal, because one could have a trailing slash and the other not.
Another issue that popped up was knowing wether a path is a file or a directory, and if it is absolute or relative.
All of these issues are articulated in the path
library:
https://github.com/commercialhaskell/path
Published by apauley over 4 years ago
Improve support for importing a subset of journals: start importing only from the directory given as argument,
or the current directory, and generate only the relevant include files.
This is a behavioural change and (for now) it needs to be enabled with the --enable-future-rundir switch.
This will become the default behaviour in 0.14.x, at which time the switch will be removed.
Use the LEDGER_FILE
env var (if set) when generating reports.
Default to the top-level all-years.journal if not set.
Build with Stackage Nightly 2020-03-10 (ghc-8.8.3)
Published by apauley over 4 years ago
Published by apauley over 4 years ago
Published by apauley about 5 years ago
Published by apauley over 5 years ago
Published by apauley over 5 years ago
Published by apauley over 5 years ago
Published by apauley over 5 years ago
Published by apauley over 5 years ago
Published by apauley over 5 years ago
Published by apauley over 5 years ago
Published by apauley over 5 years ago
Published by apauley over 5 years ago