Simon Michael
a2a1124680
;doc: update command docs
2025-08-24 09:02:49 +01:00
Simon Michael
4c1c44ce36
imp:cli: clearer help for -f, and the add and import commands
...
From euouae's irc feedback
2025-08-24 08:59:50 +01:00
Simon Michael
bdf5e7d06e
;doc:import: use windows-compatible quotes in watchexec example
2025-08-15 04:13:15 +01:00
Simon Michael
cb1d6a71a6
dev:import:archive: fix bugs in new code
...
Too hard to rebase
2025-08-14 19:22:52 +01:00
Simon Michael
9766f65ac7
imp:import: show info output on stderr, not stdout
2025-08-14 14:23:53 +01:00
Simon Michael
76dc6d089a
feat:import:archive: archive data files, and process oldest first
2025-08-14 12:54:40 +01:00
Simon Michael
db7783b16d
dev: cleanups
2025-08-14 12:54:40 +01:00
Simon Michael
bfbef4bcbb
dev: refactor PrefixedFilePath
2025-08-14 12:37:11 +01:00
Simon Michael
f604b7a416
fix: accounts: a tag: query only matches account tags, not posting tags
...
Eg, `hledger accounts tag:t` lists only account a from this journal:
account a ; t:
2025-01-01
a 1
b -1 ; t:
2025-08-03 05:38:33 +01:00
Simon Michael
aabc892277
dev: Accounts: import cleanup
2025-08-03 05:37:56 +01:00
Simon Michael
cace7eb491
;doc:areg: clarification
2025-07-30 18:17:58 +01:00
Simon Michael
6521b8dfdb
imp:setup: improve output
2025-07-25 19:08:26 +01:00
Simon Michael
b7e35f84a2
imp: include: add hidden --old-glob flag to restore old dot behaviour
...
This disables the workaround for Glob#49, allowing glob patterns to
find dot files and traverse dot directories again (sometimes too much).
2025-07-17 08:00:08 -07:00
Simon Michael
0ea239503c
dev: rename the hidden --timeclock-old flag to --old-timeclock
...
--timeclock-old is still supported as well, for now, even though
this flag is not documented yet (it has appeared in
changelogs/release notes and in issue discussion).
2025-07-17 07:49:39 -07:00
Simon Michael
57b1e18757
imp:demo: show a better error message if asciinema is not installed
2025-07-08 11:35:31 -07:00
Simon Michael
3952d4e611
;dev:cli: update outdated CLI help
2025-07-08 11:35:31 -07:00
Simon Michael
fc93a4c644
fix:add: show green prompts properly instead of ANSI codes [ #2410 ]
2025-07-01 16:41:05 -07:00
Simon Michael
cd904e80d5
imp:setup: downgrade lack of pager to an info (no pager on windows)
2025-07-01 12:48:28 -07:00
Simon Michael
bc0cfebeb5
imp:setup: ignore shell completions for now
2025-07-01 12:05:56 -07:00
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