mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-10 14:16:41 +03:00
3f0ab0b008
[ci skip]
37 lines
423 B
Plaintext
37 lines
423 B
Plaintext
# apply account, end apply account directives
|
|
hledger -f - accounts
|
|
<<<
|
|
apply account a
|
|
2016/1/1
|
|
(b) 1
|
|
end apply account
|
|
apply account aa
|
|
2016/1/1
|
|
(b) 1
|
|
end apply account
|
|
2016/1/2
|
|
(c) 1
|
|
>>>
|
|
a:b
|
|
aa:b
|
|
c
|
|
>>>=0
|
|
|
|
# commodity directive
|
|
hledger -f - reg
|
|
<<<
|
|
commodity BTC
|
|
>>>
|
|
>>>2
|
|
>>>=0
|
|
|
|
# commodity directive with subdirective
|
|
hledger -f - reg
|
|
<<<
|
|
commodity BTC
|
|
note Bitcoin
|
|
>>>
|
|
>>>2 /expecting "format"/
|
|
>>>=1
|
|
|