mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 12:24:43 +03:00
36 lines
423 B
Plaintext
36 lines
423 B
Plaintext
separator |
|
|
fields date, time, description, value
|
|
|
|
comment time:%time, value:%value
|
|
|
|
account1 (events)
|
|
|
|
amount1 1 events
|
|
if %value ^[0-9]+$
|
|
amount1 %value events
|
|
if steps
|
|
amount1 %value steps
|
|
if %value no
|
|
amount1 0 events
|
|
if %value yes
|
|
amount1 1 events
|
|
|
|
if
|
|
wake
|
|
sleep
|
|
account1 (body:sleep)
|
|
|
|
if
|
|
steps
|
|
account1 (body:exercise)
|
|
|
|
if
|
|
iron
|
|
vitamin
|
|
account1 (body:supplements)
|
|
|
|
if
|
|
pizza
|
|
account1 (food)
|
|
amount1 200 cal
|