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

Make it easier to call hunter from scripts #17

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

mfleming
Copy link
Contributor

Hunter is currently designed a cmdline tool only, but other Python scripts might want to invoke hunter programmatically.

This allows scripts to call hunter.script_main() directly by building a
Config object in-memory instead of needing to create files on disk.
The default behaviour is to use sys.argv.
@smccarthy788 smccarthy788 merged commit 6425c00 into datastax-labs:master Mar 14, 2024
1 check passed
@mfleming mfleming deleted the programmatic-entrypoint branch March 15, 2024 12:34
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.

2 participants