Caleb Maclennan
7c34f08580
doc: bin: Document new AWK contrib script usage
2023-02-09 23:33:22 -10:00
Caleb Maclennan
1f088324c6
feat: bin: Add AWK script to sort postings and merge duplicates
...
Co-authored-by: Murukesh Mohanan <murukesh.mohanan@gmail.com>
2023-02-09 23:33:22 -10:00
Jonathan Dowland
0a052c7aef
;docs: indicate aregister supports html output
...
Signed-off-by: Jonathan Dowland <jon@dow.land>
2023-02-09 10:53:09 -10:00
Jonathan Dowland
15eadd58ce
feat: aregister: implement HTML output formatter ( #1996 )
...
The HTML formatter outputs a HTML snippet containing a table with a
header row and one data row per report item. The header row names
match those for the CSV output formatter. Multiple commodities in
a report item are listed together in the same cell separated by
commas, again matching the CSV formatter.
A future extension could be to explore using multiple rows for
multiple commodities, with HTML row spanning.
Fixes #1996 .
Signed-off-by: Jonathan Dowland <jon@dow.land>
2023-02-09 10:53:09 -10:00
Simon Michael
9106c9013f
;doc: bal: budget: fix lists
2023-02-04 14:54:54 -10:00
Simon Michael
3fea3b0db7
;doc: bal: budget: compare with forecasting; add some tips
2023-02-04 14:47:01 -10:00
Simon Michael
02307c5369
;doc: journal: cheatsheet: clarify date tag
2023-02-04 11:30:26 -10:00
Simon Michael
b8e538a57f
;doc: bal: --budget: clarify use of print --forecast
2023-02-04 10:37:14 -10:00
Simon Michael
513b6b5164
;doc: check: adjacentconversionpostings was dropped
2023-02-04 08:03:54 -10:00
Simon Michael
da5b4667df
;doc: rename directive sections, fix many links
2023-02-04 08:01:47 -10:00
Simon Michael
f4160d5397
;doc: bump man page dates
2023-02-04 07:06:18 -10:00
Simon Michael
89b699e78e
;doc: cli: fix all links to Journal > Tags / Commands > tags
2023-02-04 07:05:58 -10:00
Simon Michael
4eeafdc4d3
dev: delete strange old remnant of the checkdates command, causing HLS trouble
2023-02-04 06:42:05 -10:00
Simon Michael
a37da26ee9
;bin: hledger-git: record: better error output
2023-02-03 19:07:28 -10:00
Simon Michael
ae26ae6294
;bin: hledger-git: status command also shows diffs
2023-02-02 21:12:16 -10:00
Simon Michael
679f62cc60
;dev: pr template: mention COMMITS page and prefix convention ( #1997 )
2023-02-01 13:30:21 -10:00
Simon Michael
1e1b26261d
;fix: bin: hledger-git: add short command aliases r, s, l
2023-02-01 13:30:21 -10:00
Simon Michael
e986bdf2d5
;fix: bin: hledger-git: fix -h; pass unrecognised commands to git
2023-02-01 13:30:21 -10:00
Simon Michael
c477c59247
;fix: bin: hledger-git: don't forcibly add ignored files
2023-02-01 13:30:21 -10:00
Simon Michael
c8c920cbe0
;fix: bin: hledger-git: fix status command
2023-02-01 13:30:21 -10:00
Simon Michael
c51ebe7b8c
imp: journal: remove the "adjacent conversion postings" check again
...
I find that single conversion postings are sometimes needed, eg with
paypal.
2023-02-01 13:30:21 -10:00
J. B. Rainsberger
c7eb9aa944
;doc: Removed redundant paragraph in documentation.
2023-02-01 13:28:17 -10:00
Simon Michael
5ad1aab288
;bin: rename hledger-script-example.hs; use fewer imports and deps
2023-01-29 16:57:14 -10:00
Simon Michael
b49b760497
;bin: a version of hledger-register-max using a newer API
...
This one uses Hledger.Cli.Script to reduce import boilerplate,
and supports --help.
2023-01-29 16:29:58 -10:00
Simon Michael
98949beec3
;cabal: update cabal files
2023-01-29 16:29:35 -10:00
Simon Michael
3f3401f8ad
imp: cli: Hledger.Cli.Script convenience import for scripts
...
Hledger.Cli.Script is a convenient prelude for use in scripts,
reducing import boilerplate. It currently re-exports:
Control.Monad
Data.Either
Data.List
Data.Maybe
Data.Ord
Data.Time
Text.Printf hiding (formatString)
Data.Text (Text, pack, unpack)
Safe hiding (at)
System.Directory
System.Environment
System.Exit
System.FilePath
System.Process
Hledger
Hledger.Cli
Hledger.Cli.Main (argsToCliOpts)
but not (much of) Data.Text or Data.Text.IO, as those
need to be imported qualified.
2023-01-29 16:29:18 -10:00
Simon Michael
6589b506ed
;bin: register-max: tweaks
2023-01-29 08:14:15 -10:00
Simon Michael
173985dbfc
;bin: register-max: show multiple postings, better layou
2023-01-29 08:03:47 -10:00
Simon Michael
7f8f98707d
;bin: register-max: cleanup
2023-01-29 07:12:16 -10:00
Simon Michael
dc8e0f66de
;bin: register-max: don't add -H by default
2023-01-29 06:58:52 -10:00
Simon Michael
82abb00754
;bin: register-max
2023-01-29 06:43:42 -10:00
Simon Michael
0f5857d94f
;pkg: stack: drop allow-newer, should be no longer needed
2023-01-28 23:03:11 -10:00
Simon Michael
66859fedb8
;doc: account types edit
2023-01-28 23:02:33 -10:00
Simon Michael
53efb49c77
fix: cli: use black or white for banner & version, maximising legibility
2023-01-27 17:01:06 -10:00
Simon Michael
9381b46004
fix: lib: fix terminal lightness detection
2023-01-27 16:51:05 -10:00
Simon Michael
79914cbe74
fix: cli: avoid showing color detection escape sequence when piped
2023-01-27 10:50:56 -10:00
Simon Michael
110711a2a2
fix: cli: restore workaround to avoid showing escape codes in emacs
2023-01-27 10:00:07 -10:00
Simon Michael
eed8a06906
fix: cli: don't highlight help when TERM=dumb
2023-01-27 06:06:17 -10:00
Simon Michael
bb5d473955
fix: lib: don't use $PAGER when TERM=dumb
2023-01-27 06:01:49 -10:00
Simon Michael
7a636dd428
imp: cli: non-bold version string
2023-01-26 23:17:58 -10:00
Simon Michael
dc35fd173b
pkg: stack: another extra dep needed
2023-01-26 22:25:24 -10:00
Simon Michael
45808c8e13
imp: cli: add terminalLightness; tweak IsLight threshold; embolden banner
2023-01-26 22:11:20 -10:00
Simon Michael
3ae9a5e0bc
;cabal: update cabal files
2023-01-26 22:11:20 -10:00
Simon Michael
9c7144e939
imp: cli: pick help accent color to contrast with terminal bg when possible
2023-01-26 22:11:20 -10:00
Simon Michael
1da4fd1eaf
imp: lib: terminal colour detection
...
added:
terminalIsLight
terminalFgColor
terminalBgColor
2023-01-26 22:11:20 -10:00
Simon Michael
9ab8818368
dev: ci: actions/checkout: v2 -> v3
2023-01-26 22:04:04 -10:00
Simon Michael
6ebf811095
dev: ci: actions/cache: v2 -> v3
2023-01-26 22:04:04 -10:00
Simon Michael
72cd441a9f
imp: cli: add a little highlighting to help output
2023-01-25 19:16:09 -10:00
Simon Michael
0de3acabcb
cabal: update cabal files
2023-01-25 19:16:08 -10:00
Simon Michael
4387e6ffb5
pkg: stack: bump to latest snapshots, depend on text-ansi, add extra deps
2023-01-25 19:15:45 -10:00