Simon Michael
f11ad4b70f
imp:setup: output improvements
2025-07-01 05:39:03 -07:00
Simon Michael
1efc0486d5
;doc:add: clarify that add is for journal format only
2025-06-30 06:24:52 -07:00
savanto
230998136f
imp: areg: do not abbrev other accts in machine-readable output ( #1995 )
...
- Do not turn "other accounts" into a comma-delimited string when the
report is constructed, but pass `AccountName`s up the chain. This
requires modifying the `AccountTransactionsReportItem` type to contain
`[AccountName]` rather than `Text`.
- Perform the account name summarization
(`Hledger.Data.AccountName.accountSummarizedName`) closer to the
actual rendering of the report, so that different report formats can
choose summarization strategy.
- Continue to summarize as before for terminal/text output (ie.
human-readable). Do not summarize any more for machine-readable output
(csv/html/fods).
2025-06-28 13:38:58 -07:00
Stephen Morgan
79fa806690
fix: csv: Make --summary-only work with csv output ( #2411 )
...
Don't display date headers with --summary-only in csv output.
2025-06-24 20:19:29 -07:00
Simon Michael
afd18a10bf
fix: show historical balances even if report period is empty [ #2403 ]
...
This adds a safer version of spanDefaultsFrom that won't create spans
that end before they start, and updates all reports to use it.
The only related change noticed so far is that close now gives an
error instead of a malformed entry, when there's no data to close.
[#2409 ]
2025-06-15 22:42:58 -10:00
Simon Michael
d504e0a7c0
fix:demo: drop mention of -- ASCIINEMAOPTS, it no longer works
2025-06-15 13:25:04 -10:00
Simon Michael
3ba3d3d676
;doc: drop -- argument from more docs [ #458 ]
2025-06-15 13:25:04 -10:00
Simon Michael
877ab3e5b0
fix:cli: clearer unknown command & flag error; accept addon flags [ #2388 ] [ #458 ]
...
When given an unknown command and an unknown flag, we now prioritise
showing the unknown command error. [#2388 ]
This fix, on top of prior work, also solves a long standing CLI/UX
problem we've had with addon commands: now you can freely mix in
addon-specific options in a hledger command line, and hledger won't
complain. Ie, writing -- before addon flags is no longer needed. \o/
2025-06-15 12:47:59 -10:00
Simon Michael
e473fc9794
;doc: update command docs
2025-06-15 07:32:40 -10:00
Simon Michael
4a5775da71
imp: commodities/payees/tags: used/declared flags, like accounts
...
And general cleanup of options and help across
the accounts, commodities, payees, tags commands.
2025-06-15 07:32:40 -10:00
Simon Michael
b8f12e3908
;doc: print: improve --location help
2025-06-14 17:36:28 -10:00
Simon Michael
3f7a9f97f9
fix:help: -i and -m were always showing help's help [ #2399 ]
2025-06-13 21:47:58 -10:00
Simon Michael
e9be7ea7f5
;doc:add: edits
2025-06-13 12:31:56 -10:00
Simon Michael
1e9bd3c2c9
;doc:add: edits
2025-06-13 12:26:34 -10:00
Simon Michael
3b1bd92cf2
;doc: add: balance assignments: mention -I [ #2406 ]
2025-06-13 10:29:23 -10:00
Simon Michael
3713a1b77b
;fix:doc:add: document balance assertions/assignments behaviour [ #2406 ]
2025-06-13 07:36:45 -10:00
Simon Michael
57031b0e78
dev: rename exitOnError -> handleExit, improve doc
2025-06-12 18:48:10 -10:00
Simon Michael
de4d637def
dev: transaction balancing: cleanup [ #2402 ]
2025-06-12 17:55:13 -10:00
Simon Michael
bf90b20f2c
imp: --txn-balancing flag to select transaction balancing precision [ #2402 ]
2025-06-12 17:55:13 -10:00
Simon Michael
001a0b9572
fix:areg: round all amounts to display precision again [ #2407 ]
...
This broke in 1.32.
2025-06-12 17:55:13 -10:00
Simon Michael
fcb1b4ed1c
imp:cli: simplify flag group titles
2025-06-04 15:25:27 -10:00
Simon Michael
8498894a96
;doc: update command docs
2025-06-04 07:54:03 -10:00
Simon Michael
2a4718d40a
fix: make a few more error messages consistent, hiding call stack [ #2367 ]
2025-06-03 10:10:04 -10:00
Michael Rees
19a2a70f2d
Handle partial dates in added transactions
2025-05-31 23:19:47 -10:00
Michael Rees
b042115692
Ignore assertions during add with -I
2025-05-31 23:19:47 -10:00
Michael Rees
5a4aa87df8
Clarify some code after review
2025-05-31 23:19:47 -10:00
Michael Rees
17f914e571
imp: add: Verify balance assertions on each posting ( #2355 )
2025-05-31 23:19:47 -10:00
Simon Michael
b7dbe3ed4f
;fix:doc: more text encoding corrections ( #2394 )
2025-05-30 12:11:15 -10:00
Simon Michael
f1f1ad5c94
;dev: clarify
2025-05-30 10:48:24 -10:00
Dmitry Astapov
f38bc34d35
lib: roi: fix a bug with PnL attributed to the wrong period ( fixes #2391 )
2025-05-26 19:54:21 -10:00
Simon Michael
820a44eb07
imp:lib:Hledger.Utils.Debug: simpler, more consistent dbg* names
2025-05-21 22:54:00 -10:00
Simon Michael
f7aa1fadd1
fix:test: fix and improve pass-through of arguments to tasty [ #2386 ]
2025-05-16 10:46:50 -10:00
Simon Michael
59ff2a9542
;doc: fix broken "Commodity display style" links [hledger_site/#132]
...
Followup to jbrains' fix in https://github.com/simonmichael/hledger_site/pull/132 .
2025-05-10 10:43:28 -10:00
Simon Michael
9365084b06
;dev: setup: notes
2025-05-09 15:39:06 -10:00
Simon Michael
0298918be2
;doc: setup
2025-04-25 16:14:03 -10:00
Simon Michael
144489a418
imp: setup: improve output
2025-04-25 15:21:59 -10:00
Simon Michael
bf40d28c8b
imp: config files (and maybe timedot files) no longer require a final newline
2025-04-25 13:59:18 -10:00
Simon Michael
8f46eca6ec
imp:setup: improve output and logic; show strictness config
2025-04-25 13:58:36 -10:00
Simon Michael
45e449e97a
imp:setup: show more green for ideal setups
2025-04-25 12:04:06 -10:00
Simon Michael
4a5b0d46b5
imp: setup v2, simpler implementation and shorter output
...
This one tests only with the currently running hledger, and requires being installed in PATH to show full info.
2025-04-25 11:53:57 -10:00
Simon Michael
78baaee6c5
lib: more version helpers, rename to HledgerBinaryInfo, silence warnings
2025-04-25 09:36:38 -10:00
Simon Michael
06cd0f9472
lib: exitOnExceptions -> exitOnError
2025-04-25 08:32:47 -10:00
Simon Michael
d1e4d00b8d
lib: Cli,UI,WebOptions: export binaryinfo
2025-04-25 08:26:14 -10:00
Simon Michael
d3af9f0217
;doc:check: edits
2025-04-24 11:27:28 -10:00
Simon Michael
d37000726d
;doc:check: edits
2025-04-24 11:13:29 -10:00
Simon Michael
650901901f
;doc:check: edits
2025-04-24 10:53:44 -10:00
Simon Michael
0d6023b812
;doc:balance: edits
2025-04-24 09:59:27 -10:00
Simon Michael
8705b935de
imp:setup: output tweaks
2025-04-23 22:50:19 -10:00
Simon Michael
eec803f19b
imp:setup: more setup tests; improve logic, output
2025-04-23 21:43:30 -10:00
Simon Michael
03589e294b
lib: make getConf total; add getConf'
2025-04-23 21:43:30 -10:00