hledger/hledger-lib/Hledger/Read
Simon Michael 45127dc5f5 feat: new type: query for easy matching by account type
type:TYPES, where TYPES is any of the (case insensitive) letters
ALERXCV, matches accounts by their declared or inferred type.
(See https://hledger.org/hledger.html#account-types.)
This should work with most commands, eg:

    hledger bal type:al
    hledger reg type:x

API changes:

Journal has a new jaccounttypes map.
The journalAccountType lookup function makes it easy to check an account's type.
The journalTags and journalInheritedTags functions look up an account's tags.
Functions like journalFilterPostings and journalFilterTransactions,
and new matching functions matchesAccountExtra, matchesPostingExtra
and matchesTransactionExtra, use these to allow more powerful matching
that is aware of account types and tags.
2022-01-31 16:44:13 -10:00
..
Common.hs feat: new type: query for easy matching by account type 2022-01-31 16:44:13 -10:00
CsvReader.hs cln: csv: small rename 2021-12-08 16:57:53 -10:00
InputOptions.hs fix: cost: Add inferred equity postings during journal finalisation, so 2022-01-16 18:37:18 -10:00
JournalReader.hs feat: queries can now match account tags (#1817) 2022-01-30 09:47:52 -10:00
LedgerReader.hs.disabled debug: move command parsing debug output down to level 8 2020-07-03 11:37:01 -07:00
TimeclockReader.hs pkg: Drop base-compat-batteries dependency. 2021-10-31 07:56:07 -10:00
TimedotReader.hs timedot: a D default commodity (and style) is applied to timedot aounts 2021-11-05 23:34:46 -10:00