kedder / ofxstatement

Tool to convert proprietary bank statement to OFX format, suitable for importing to GnuCash or other personal finance applications.
GNU General Public License v3.0
277 stars 61 forks source link

Support passing -c/--config arg #235

Closed rkok closed 1 year ago

rkok commented 1 year ago

Allow for passing a custom config file using the -c or --config argument.

In my case, this came in useful for scripting Transferwise (Wise) imports, where the files don't always have the same currency:

ofxstatement convert \
  -t transferwise \
  -c <(echo -e '[transferwise]\nplugin=transferwise\ncurrency=EUR') \
  statement.csv out.ofx
coveralls commented 1 year ago

Coverage Status

coverage: 95.492% (+0.005%) from 95.487% when pulling 479198693761d760cb935c8fd49ce69aaed1ba4a on rkok:feature/config-arg into 9f38a90cb029acf1fef789b658f2010db67606d0 on kedder:master.

kedder commented 1 year ago

Makes sense, thanks!