support metadata in hledger add #45

Closed
simonmichael opened this Issue Apr 8, 2013 · 4 comments

Projects

None yet

1 participant

@simonmichael
Owner

Original author: davamu...@gmail.com (May 30, 2011 16:43:53)

hledger add really is one of the fastest modes of data entry around, but as it is there is no means of adding metadata to a transaction.

what if..

a leading semi-colon were interpreted as literal metadata, and was thereby included in the transaction ?

Original issue: http://code.google.com/p/hledger/issues/detail?id=45

@simonmichael
Owner

From simon@joyful.com on May 30, 2011 17:47:20
Could you paste a mockup transcript of how that would look ?

@simonmichael
Owner

From davamu...@gmail.com on May 31, 2011 00:41:12
how about..

djp@monk:~ $ hla
Enter one or more transactions, which will be added to your journal file.
To complete a transaction, enter . when prompted for an account.
To quit, press control-d or control-c.
date [2011/05/30]:
description []: * widgets
account 1 [Assets:Cash:Drawer]:
amount 1 [-55.0]:
account 2 [Assets:Cash:Box]: Expenses:COGS:widgets
amount 2 [55.0]:
account 3: ; signed:Jose
; signed:Jose <----- feedback, accepted as metadata
account 3: ; case:24
; case:24
account 3: ; barcode:987476897
; barcode:987476897
account 3: ; plu:234454
; plu:234454
account 3: .
date [2011/05/30]:

@simonmichael
Owner

From simon@joyful.com on May 31, 2011 18:01:45
Thanks, looks like a good idea.

@simonmichael
Owner

From simon@joyful.com on February 24, 2013 21:32:14
Implemented in darcs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment