Marko Kocić
unread,Apr 8, 2013, 10:43:43 AM4/8/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hle...@googlegroups.com
Hi all again,
what is the current state of using tags. I looked at (not that big) documentation part about tags, but didn't quite figure it.
I'll just to explain what I want to achieve, and you can tell me if tags would help there or there's a better way.
Say I have some unexpected expenses and incomes during the month that belong to already existing account. I'd like to tag them somehow, with eg. one-time tag.
Then when I run incomestatement or cashflow report for that month, I'd like to be able to exclude or include only those tags into calculation.
This are fake cmdlines:
hledger inc -p 2013/04 -tag-one-time ;; Dispaly incomestaement but don't consider transactions marked as one-time
hledger inc -p 2013/04 ;; display change in all accounts
hledger inc -p 2013/04 tag+one-time ;; display all accounts but consider only transactions tagged as one-time
As a bonus, it should be possible to combine multiple tags.
What do you think about idea, or there is a better way to do it?
Cheers,
Marko