beancount / ledger2beancount

Ledger to Beancount text-based converter
GNU General Public License v3.0
79 stars 15 forks source link

Add tag_map #263

Closed tbm closed 1 year ago

tbm commented 1 year ago

Can we have a tag_map (ala account_map and commodity_map).

Since beancount requires meta-data keys to start with a lower-case letter, we end up renaming a tag like Tax-Year to tax-Year, which is ugly.

tbm commented 1 year ago

there's metadata_map already, but only for metadata keys. Hmm, isn't that what I want?

tbm commented 1 year ago

No, I was confused. metadata_map (which exists) and tag_map (which doesn't are two different thing.

My example was wrong.

tbm commented 1 year ago

done in https://github.com/beancount/ledger2beancount/commit/fa7bc47f5840c1d6a4c9eba3c1f5469c67efd3a2