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

Feature Request: Support Default Options for beangulp.Injest() #139

Open
eliptus opened this issue Dec 24, 2024 · 1 comment
Open

Feature Request: Support Default Options for beangulp.Injest() #139

eliptus opened this issue Dec 24, 2024 · 1 comment

Comments

@eliptus
Copy link

eliptus commented Dec 24, 2024

For import scripts that call beangulp.Injest(), allow them to provide default values for CLI options like downloads and destination.

Example:

    ingest = beangulp.Ingest(importers, hooks, {'downloads': './Downloads'})
@eliptus
Copy link
Author

eliptus commented Dec 24, 2024

I originally reported this against beancount. This has become more relevant with beangulp since --downloads has been replaced with a positional parameter, thus it is more difficult to detect its absence in the wrapper without baking in knowledge of all archive options.

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

No branches or pull requests

1 participant