42 lines
532 B
Plaintext
42 lines
532 B
Plaintext
# accounts command
|
|
|
|
# 1. basic accounts report
|
|
<
|
|
account a
|
|
|
|
2018/1/1 ; foo:
|
|
(a:aa) 1
|
|
|
|
$ hledger -f - accounts
|
|
a
|
|
a:aa
|
|
|
|
# 2. tree mode
|
|
$ hledger -f - accounts --tree
|
|
a
|
|
aa
|
|
|
|
# 3. drop in flat mode
|
|
$ hledger -f - accounts --flat --drop 1
|
|
...
|
|
aa
|
|
|
|
# 4. drop in tree mode
|
|
$ hledger -f - accounts --tree --drop 1
|
|
...
|
|
aa
|
|
|
|
# 5. filtering transactions by tag
|
|
$ hledger -f - accounts tag:foo
|
|
a:aa
|
|
|
|
# 6. Show account types.
|
|
<
|
|
account asset
|
|
2022-01-01
|
|
(unknown) 1
|
|
|
|
$ hledger -f - accounts --types
|
|
asset ; type: A
|
|
unknown ; type:
|