You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently hledger-flow report produces income-expense reports with hledger --file import/user/all-years.journal --period 2023 incomestatement --pretty-tables --depth 2 which results in showing the "hour amount" balances for the "revenue:hours" account.
For my standard report, I want to use hledger's --cost option so that those reports only show the dollar amounts instead of hours.
I'd be happy if hledger-flow simply did this by default, or if there were some way to define additional hledger options to use for the income-expense report (or for reports in general).
Version and Runtime Information
hledger-flow 0.14.4 darwin x86_64 ghc 9.0 UNKNOWN
If your request includes commands you ran and the output, please also include
the runtime options with --show-options e.g:
$ hledger-flow --show-options import
RuntimeOptions {baseDir = "/home/user/finances/", importRunDir = "./", importStartYear = Nothing, onlyNewFiles = False, hfVersion = "hledger-flow 0.14.4 darwin x86_64 ghc 9.0 UNKNOWN", hledgerInfo = HledgerInfo {hlPath = "/home/user/.nix-profile/bin/hledger", hlVersion = "hledger 1.25, mac-x86_64"}, sysInfo = SystemInfo {os = "darwin", arch = "x86_64", compilerName = "ghc", compilerVersion = Version {versionBranch = [9,0], versionTags = []}, cores = 8, availableCores = 8}, verbose = False, showOptions = True, sequential = False, batchSize = 200}
Collecting input files from /home/user/finances/import/
Found 12 input files in 0.005646s. Proceeding with import...
Wrote include files for 12 journals in 0.014143s
Imported 12/12 journals in 0.136004s
hledger-flow uses --cost in all reports by default
there's some way to use a config file or an environment variable or a command-line option to make heldger-flow use --cost (or perhaps any arbitrary additional hledger options) in the income-expense reports (or perhaps in all reports)
have a new report that's the same as income-expense, but includes --cost
I could make my own shell script that generates the report, but will have to duplicate the work hledger-flow already does of iterating over each available year. (Possibly a separate feature request, it would be cool to have a way to define new reports that heldger-flow would run for all years.)
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm tracking billable hours with entries that (after csv import) look like:
Currently
hledger-flow report
produces income-expense reports withhledger --file import/user/all-years.journal --period 2023 incomestatement --pretty-tables --depth 2
which results in showing the "hour amount" balances for the "revenue:hours" account.For my standard report, I want to use hledger's
--cost
option so that those reports only show the dollar amounts instead of hours.I'd be happy if hledger-flow simply did this by default, or if there were some way to define additional hledger options to use for the income-expense report (or for reports in general).
Version and Runtime Information
If your request includes commands you ran and the output, please also include
the runtime options with
--show-options
e.g:Our Example Statements Repository
FYI, we have a repo with some example transactions which you can use to run
hledger-flow
on:https://github.com/apauley/hledger-flow-example
Can you give examples of what you would like by running
hledger-flow
on these files?Example csv file:
Example rules file:
Describe the solution you'd like
One of:
--cost
in all reports by default--cost
(or perhaps any arbitrary additional hledger options) in the income-expense reports (or perhaps in all reports)--cost
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: