2024-06-18 11:39:02 +03:00
|
|
|
# hledger.conf - extra options(/arguments) to be added to hledger commands.
|
|
|
|
# This takes effect if found in the current directory when you run hledger.
|
|
|
|
|
|
|
|
# 1. This first, unnamed section is typically used for general options.
|
|
|
|
# These affect all commands, or when not supported will be ignored.
|
2024-06-13 21:11:06 +03:00
|
|
|
# To see the general options available, run hledger -h
|
|
|
|
|
2024-06-18 11:39:02 +03:00
|
|
|
# don't check balance assertions by default (run with -s to check them)
|
|
|
|
--ignore-assertions
|
|
|
|
|
|
|
|
# always infer these
|
|
|
|
--infer-costs
|
|
|
|
--infer-equity
|
|
|
|
--infer-market-prices
|
|
|
|
|
|
|
|
# always show prettier tables in terminal reports
|
|
|
|
--pretty
|
|
|
|
|
|
|
|
|
|
|
|
# 2. [named] sections define extra command-specific options.
|
|
|
|
# Options can be written on the same line or separate lines.
|
|
|
|
# To see a command's options, run hledger CMD -h
|
|
|
|
|
|
|
|
# help: prefer man pages, bypassing info
|
2024-06-23 03:53:16 +03:00
|
|
|
# [help] --man
|
2024-06-18 11:39:02 +03:00
|
|
|
|
|
|
|
# print: show more info by default
|
|
|
|
[print] --explicit --show-costs
|
2024-06-13 21:11:06 +03:00
|
|
|
|
2024-06-23 03:53:16 +03:00
|
|
|
# balance commands: use these defaults
|
|
|
|
[balance] --tree -p 'monthly from 3 months ago' --depth 3
|
|
|
|
[balancesheet] --tree -p 'monthly from 3 months ago' --depth 3
|
|
|
|
[balancesheetequity] --tree -p 'monthly from 3 months ago' --depth 3
|
|
|
|
[cashflow] --tree -p 'monthly from 3 months ago' --depth 3
|
|
|
|
[incomestatement] --tree -p 'monthly from 3 months ago' --depth 3
|
2024-06-13 21:11:06 +03:00
|
|
|
|
2024-06-18 11:39:02 +03:00
|
|
|
# hledger-ui: reload on change (when started via `hledger ui`).
|
|
|
|
# A -- is needed before addon-specific flags, as on command line.
|
|
|
|
[ui] -- --watch
|