hledger-accounts
List account names. tldr-pages
On several platforms
Several platforms
Show all accounts used or declared in the default journal file
hledger [accIdentifyShow accounts used by transactions
hledger [acc --usedIdentifyShow accounts declared with account directives
hledger [acc --declaredIdentifyAdd new account directives, for accounts used but not declared, to the journal
hledger [acc --undeclared --directives >>2024-accounts.journalIdentifyShow accounts with asset in their name, and their declared/inferred types
hledger [acc asset --typesIdentifyShow accounts of the Asset type
hledger [acc type:AIdentifyShow the first two levels of the accounts hierarchy
hledger [acc --tree --depth 2Identify