Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passing -c/--config arg #235

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Conversation

rkok
Copy link
Contributor

@rkok rkok commented Aug 6, 2023

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
Copy link

Coverage Status

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

@kedder
Copy link
Owner

kedder commented Aug 7, 2023

Makes sense, thanks!

@kedder kedder merged commit 62675fd into kedder:master Aug 7, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants