Simon Michael
cf0c7c2ef8
;bin: hledger-script-example: explain shebang commands better
2024-07-02 13:34:48 +01:00
Simon Michael
21465c050b
;examples:csv: tiller.csv.rules
2024-07-02 01:07:54 +01:00
Simon Michael
d354395743
;dev: gitignore
2024-07-01 23:36:46 +01:00
Simon Michael
2303147fa4
imp: files: support conf flags (and other hidden flags)
2024-07-01 23:06:14 +01:00
Simon Michael
b33d2a8f91
imp: conf: fail if --conf file is bad; improve debug output; refactor
2024-07-01 23:06:14 +01:00
Simon Michael
b54a31d585
imp: conf: --debug 1: show all conf files found
2024-07-01 23:06:14 +01:00
Simon Michael
1996630b09
imp: cli: --debug: demote large CliOpts output to level 2
2024-07-01 23:06:14 +01:00
Simon Michael
6af992bc3a
dev: consolidate/update cli/addons tests
2024-07-01 23:06:14 +01:00
Simon Michael
2ab8ac31f4
fix: cli: more cli parsing fixes; debug output improvements
2024-07-01 22:50:44 +01:00
Simon Michael
2a6a5ea042
fix: conf: fix passing of general options to ui, web
2024-07-01 08:10:40 +01:00
Simon Michael
65c30bceb6
;doc: update manuals
2024-06-27 00:24:23 +01:00
Simon Michael
e0cbe65d9b
;tools: Shake txtmanuals: silence all but wide table warnings
2024-06-27 00:24:09 +01:00
Simon Michael
d35e4bde11
;doc: cli: fix some manual warnings
2024-06-27 00:24:09 +01:00
Simon Michael
6aa1bbc18a
;doc: --debug help tweak
2024-06-26 23:24:41 +01:00
Simon Michael
26978ffc26
imp: config file: sample: simplify
2024-06-25 18:37:55 +01:00
Simon Michael
b8706dee56
;doc: config files: edits
2024-06-25 18:37:55 +01:00
Simon Michael
5f285a56ab
doc: update manuals
2024-06-25 18:37:55 +01:00
Simon Michael
d9f314dfa3
;doc: update help
2024-06-25 18:37:55 +01:00
Simon Michael
9a89adf737
;tools: Shake cmddocs: improve help
2024-06-25 18:37:55 +01:00
Simon Michael
5c45963a07
;doc: config files
2024-06-25 18:37:55 +01:00
Simon Michael
40620666f8
imp: cli: rename --rules-file to --rules; tweak options help
...
For brevity, and consistency with --conf.
--rules-file remains supported, as a hidden option.
hledger's main mode now supports the hidden legacy flags,
as the command modes do.
2024-06-25 18:37:55 +01:00
Simon Michael
5739bff249
imp: config file: --conf, --no-conf/-n, improve debug output
2024-06-25 18:37:55 +01:00
Simon Michael
6180a162b2
imp: config file: also try parent dirs
2024-06-25 18:37:55 +01:00
Simon Michael
f89e62cb6f
imp: config file: also try home and XDG config dirs
2024-06-25 18:37:55 +01:00
Simon Michael
d76677c6ad
imp: config file: don't require -- before addon-specific opts
2024-06-25 18:37:55 +01:00
Simon Michael
361b0016ff
fix: cli: ensureDebugFlagHasVal: fix multiple --debug flags not just one
2024-06-25 18:37:55 +01:00
Simon Michael
66f4091b38
fix: cli: don't let a valueless --debug flag eat the command name
2024-06-25 18:37:55 +01:00
Simon Michael
6c294e91d6
fix: ui, web: accept valueless --debug flag again
2024-06-25 18:37:55 +01:00
Simon Michael
0c9b704bcc
fix: config file: pass only post-cmd and cmd-specific conf opts to addons
2024-06-25 18:37:55 +01:00
Simon Michael
3345adb2fc
dev: refactor: cli main procedure
2024-06-25 18:37:55 +01:00
Simon Michael
969b5a89d1
dev: comment parsing tests/refactoring, fix indented timedot comments
2024-06-25 18:37:54 +01:00
Simon Michael
713c3f4067
imp: TimedotReader: trace parsing at debug level 9
2024-06-25 18:37:54 +01:00
Simon Michael
b3e648a2db
feat: config file: rename/update sample config
2024-06-25 18:37:54 +01:00
Simon Michael
6b24c09a58
feat: config file: ignore unsupported general options; refactor
2024-06-25 18:37:54 +01:00
Simon Michael
3797fe13d3
imp: move --debug to help flags, making it more universal
2024-06-25 18:37:54 +01:00
Simon Michael
e1991be46f
feat: config file: add a real parser, support command-specific options
2024-06-25 18:37:54 +01:00
Simon Michael
4175dc50ac
;cabal: update cabal files
2024-06-25 18:37:54 +01:00
Simon Michael
f5c2ec681c
dev: refactor: merge Text.Megaparsec.Custom into Hledger.Utils.Parse
2024-06-25 18:37:54 +01:00
Simon Michael
07a4b21620
dev: refactor: move emptyorcommentlinep'; hlint
2024-06-25 18:37:54 +01:00
Simon Michael
46cda5e7de
imp: cli: allow command options to be written before the command also
...
It's clearer to write command-specific flags after the command name
argument, but that's no longer required.
(Writing non-builtin, addon-specific flags after -- is still required).
Also, give up on "obey help/doc/version flags even if there's a bad
command/flag", it's too hard to do well.
2024-06-25 18:37:54 +01:00
Simon Michael
570a5472e2
dev: cli: refactor/clarify main procedure and command line processing
2024-06-25 18:37:54 +01:00
Simon Michael
204df22739
feat: cli: basic config file support for hledger
...
And some refactoring of command line parsing code.
General options only, in ./hledger.conf, for now.
2024-06-25 18:37:54 +01:00
Simon Michael
6c47fa034a
;dev: update doctests for weekly headings change [ #2204 ]
2024-06-25 18:36:43 +01:00
Simon Michael
a734ba5026
;dev: update tests for weekly headings change [ #2204 ]
...
Unfortunately our ci workflow does not reliably detect commit messages
with PRs, and in this case it wrongly identified the commit as a
harmless doc change.
2024-06-25 09:06:29 +01:00
Simon Michael
831b4638cb
;tools: just twih: date fixes
2024-06-25 07:45:27 +01:00
Simon Michael
007f2eba15
;tools: just ghci: -fobject-code was a mistake, keep everything interpreted
...
Note: stack clean --full wasn't enough to reset things after removing
this flag, rm `fd -e o -e hi` was needed.
2024-06-25 07:45:27 +01:00
Simon Michael
f847ef63e2
;fix: bin: register-max: update/fix
2024-06-25 07:45:27 +01:00
Simon Michael
49c4ccd0b7
dev: Hledger.Utils.IO: fix hlint warnings
2024-06-25 07:45:27 +01:00
Victor Mihalache
60efd035f5
imp: abbreviate week naming for weekly reports
2024-06-14 09:37:32 +01:00
Simon Michael
83bd98076a
;doc: box-drawing: edits
2024-06-12 18:39:27 +01:00