Commit Graph

1713 Commits

Author SHA1 Message Date
Simon Michael
085910708b imp: help: add standard help and (hidden) --debug flags 2024-05-29 09:37:20 -10:00
Simon Michael
f88aa8f871 imp: cli: --info before --man 2024-05-29 09:37:20 -10:00
Simon Michael
a366f3aeaa imp: ui, web, cli, all cli commands now show the general flags grouped
And cli/ui/web each have their own more specific help flags.
2024-05-29 09:37:19 -10:00
Simon Michael
ffb52e3032 imp: cli: refactor, reorg, update general flags 2024-05-28 23:44:29 -10:00
Simon Michael
8ad803cae7 ;doc: add: drop lengthy transcript, add simpler example commands (from tldr) 2024-05-23 16:22:58 -10:00
Simon Michael
46b79079bf ;doc: The flattening: adapt to the site's depth-1 page TOCs
and tweak command/screen headings.

This goes further in the direction of showing simple lists of topics
instead of outlines. mdbook-toc doesn't support configuring the TOC
depth this per page, so it has to be site wide.

Overall I feel this is better, see eg the hledger manual.  It hides a
lot of interesting topic names but a shorter, linear list is less
scary and clearer than a huge scrolling outline. Once you click in to
a section and find a subsection of interest, it's still easy to
bookmark/share those by clicking their heading.
2024-05-22 13:06:08 -10:00
Simon Michael
235cb3d8e2 fix:pkg: fix a build error with ghc 8.10 [#2198] 2024-05-17 14:48:32 -10:00
Simon Michael
e3a67b197e ;doc: bal: mention --summary-only 2024-05-09 14:47:53 -10:00
Simon Michael
1d2f85432d ;doc: include ui, web in commands in TOC 2024-05-09 14:20:32 -10:00
Simon Michael
b7219f8935 ;doc: reorganise the commands list in manual to match cli, improve links 2024-05-09 13:56:09 -10:00
Simon Michael
802bdd3433 imp: cli: commands list: updates 2024-05-07 16:49:34 -10:00
Simon Michael
b7e5c05da2 imp: -I can now be overridden by -s or the check command
This enables a "relaxed" workflow where you delay balance assertions
checking until strict mode is turned on: always run hledger -I, and
add -s when you're ready.
2024-05-07 15:44:06 -10:00
Simon Michael
ad90de62d3 ;doc: check: edits 2024-05-02 21:58:52 -10:00
Simon Michael
8975988015 ;doc: check: ordereddates: edit 2024-05-02 21:46:48 -10:00
Simon Michael
ea58a7ccd7 imp: check: check ordereddates before balance assertions, when both are enabled 2024-05-02 21:11:04 -10:00
Simon Michael
4abb8ffc2e ;doc: check: expand check descriptions 2024-05-02 19:59:00 -10:00
Simon Michael
fe1fc313ba imp: cli: commands list: more cleanup 2024-05-02 18:44:18 -10:00
Simon Michael
16e00062d3 fix: cli: don't re-list known installed addons in final section 2024-05-02 17:19:46 -10:00
Simon Michael
8666b5edc0 imp: cli: a commands list refresh 2024-05-02 12:24:33 -10:00
Simon Michael
b13949c7b8 imp: cli: commands list: drop dedicated entry for hledger-stockquotes 2024-05-02 11:38:42 -10:00
Simon Michael
96caa8f352 fix: detect ghc-debug support more accurately, checking hledger-lib also 2024-05-01 15:27:42 -10:00
Simon Michael
d17b32c7eb imp: cli,ui,web: support ghc-debug for analysing memory/profile info
When built with the ghcdebug flag and started with --debug=-1 (or -2
to pause at startup, or -3 to pause before exit), hledger can be
controlled by ghc-debug clients like ghc-debug-brick or a custom
ghc-debug query script.

Also, refactor version string code.
2024-05-01 13:43:04 -10:00
Simon Michael
55401282a0 imp: run checks in a well-defined order; and tweak that order
Now commodities are checked before accounts, and tags before recentassertions.
Also some check doc cleanups.
2024-04-26 18:59:45 -10:00
Simon Michael
4cbf72ab1f imp!: check ordereddates: drop --date2 support; check primary dates only
date2 is a deprecated feature and was getting in the way, so has been dropped
from the ordereddates check, simplifying it.
2024-04-26 18:59:45 -10:00
Simon Michael
9ffa990e9e fix: balcmds: show digit groups marks in html output again [#2196]
This broke in 1.25.
2024-04-25 08:09:10 -10:00
Simon Michael
2a67aa327b ;doc: import: edits 2024-04-24 15:54:09 -10:00
Simon Michael
210f28a7b5 ;doc: import: edits 2024-04-24 15:49:51 -10:00
Simon Michael
13cf8de1a1 ;doc: import: edits 2024-04-24 15:04:54 -10:00
Simon Michael
061580f0bc ;doc: import: Skipping -> Date skipping 2024-04-24 14:47:42 -10:00
Simon Michael
7911a4b29a ;doc: import: edits 2024-04-24 14:39:34 -10:00
Simon Michael
3863623ed9 ;doc: import: rename/expand/link commodity styles section 2024-04-24 14:32:20 -10:00
Simon Michael
3bc1bd2c75 imp:cli:commands list: move HELP, UIS to top; cleanups 2024-04-19 01:19:58 -10:00
Simon Michael
13c5827ad7 fix: add: don't show ANSI escape codes when they're not supported 2024-04-18 23:19:21 -10:00
Simon Michael
0edf99350a ;doc: update command help 2024-04-18 13:35:09 -10:00
Simon Michael
28abe5e9ff ;doc:bse: links 2024-04-11 11:55:37 -10:00
Simon Michael
d9b5ed7bb2 ;doc:bse: note requirements for checking the AE 2024-04-11 11:51:44 -10:00
Simon Michael
ff3af71c4e ;doc: update command help 2024-04-11 11:15:44 -10:00
Simon Michael
e2cc2a70ac ;doc:bs,bse,cf,is: update sample output 2024-04-11 11:13:18 -10:00
Dmitry Astapov
08a5f1ee78 ;fix: roi correctly interacts with --value (fixes #2190) 2024-04-01 08:37:31 -10:00
Simon Michael
3f184a848a ;doc: import: deduplication: edits 2024-03-27 09:23:28 -10:00
Simon Michael
080184d2e5 ;doc: import: deduplication: edits 2024-03-27 09:14:30 -10:00
Simon Michael
57ad739227 ;doc: import: deduplication: updates 2024-03-27 09:12:03 -10:00
Simon Michael
5519f4ac2e ;doc: import: edits 2024-03-24 15:13:56 -10:00
Simon Michael
2889bb6efb ;doc: update command help 2024-03-24 14:51:25 -10:00
Simon Michael
eb6b94ad5a ;doc:import: deduplication -> skipping 2024-03-24 14:51:16 -10:00
Simon Michael
70b75e4921 ;doc: update command help 2024-03-24 14:22:37 -10:00
Simon Michael
be24d6505f ;doc:import: rewrite deduplication section 2024-03-24 14:21:44 -10:00
Simon Michael
b605b5bfd5 ;doc:manuals: fix some code block language types 2024-03-02 11:50:10 -10:00
Simon Michael
afd009db9e ;doc: update command help 2024-03-01 18:09:34 -10:00
Simon Michael
7db8e01200 imp:stats: with multiple reports, add a blank line before runtime stats 2024-03-01 18:09:34 -10:00