LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

hledger-accounts

lists account names from the journal

TLDR

List all accounts
$ hledger accounts
copy
List accounts from specific file
$ hledger accounts -f [journal.ledger]
copy
List accounts matching pattern
$ hledger accounts [expenses]
copy
List with depth limit
$ hledger accounts --depth [2]
copy
Show account tree
$ hledger accounts --tree
copy
List used accounts only
$ hledger accounts --used
copy
List declared accounts only
$ hledger accounts --declared
copy
Show accounts with their types
$ hledger accounts --types
copy
Drop first N account name components
$ hledger accounts --drop [1]
copy

SYNOPSIS

hledger accounts [options] [query]

DESCRIPTION

hledger accounts lists account names from the journal. Part of the hledger plain text accounting tool. It shows accounts that are declared (with account directives), posted to, or both (the default). Accounts can be filtered by query pattern, limited by depth, and displayed as a flat list or tree.

PARAMETERS

-f, --file file

Use specified journal file.
--depth n
Limit account depth shown.
--tree
Show accounts as tree structure.
--used
Show only accounts with transactions.
--declared
Show only accounts declared with account directives.
--flat
Show accounts as a flat list with full names (default).
--drop n
In flat mode, omit the first n account name components.
--types
Show each account's type, if known.

INSTALL

sudo apt install hledger
copy
sudo dnf install hledger
copy
sudo pacman -S hledger
copy
sudo apk add hledger
copy
sudo zypper install hledger
copy
brew install hledger
copy
nix profile install nixpkgs#hledger
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid