List Hledger Accounts - Manage Ledger Account Names | Online Free DevTools by Hexmos
List accounts with Hledger, the powerful accounting tool. Manage account names, filter by type, and generate account directives. Free online tool, no registration required.
hledger accounts
List account names. More information: https://hledger.org/hledger.html#accounts.
- Show all accounts used or declared in the default journal file:
hledger {{[acc|accounts]}}
- Show accounts used by transactions:
hledger {{[acc|accounts]}} {{[-u|--used]}}
- Show accounts declared with account directives:
hledger {{[acc|accounts]}} {{[-d|--declared]}}
- Add new account directives, for accounts used but not declared, to the journal:
hledger {{[acc|accounts]}} --undeclared --directives >> {{2024-accounts.journal}}
- Show accounts with
assetin their name, and their declared/inferred types:
hledger {{[acc|accounts]}} asset --types
- Show accounts of the
Assettype:
hledger {{[acc|accounts]}} type:A
- Show the first two levels of the accounts hierarchy:
hledger {{[acc|accounts]}} {{[-t|--tree]}} {{[-2|--depth 2]}}