When I create journal with hledger print then hledger uses amount format from CSV file and there is no way to overwrite commodity format in CSV import rules file.
Is it possible to add support for keyword commodity to CSV import file rules?
When CSV file has several currencies, it starts to be complicated, each currency has to be defined on command line. I do not store details here, just output (csv file and import rules evolved...). I prefer to define default commodity formats in CSV import rules...
I would like to have an option to define commodity style in CSV import rules, to support keyword
commodity
.Example:
When I create journal with
hledger print
then hledger uses amount format from CSV file and there is no way to overwrite commodity format in CSV import rules file.I can use command line option to define "commodity", that is a current solution:
or
Is it possible to add support for keyword
commodity
to CSV import file rules?When CSV file has several currencies, it starts to be complicated, each currency has to be defined on command line. I do not store details here, just output (csv file and import rules evolved...). I prefer to define default commodity formats in CSV import rules...