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

Commits on Mar 14, 2024

  1. Pass in Config object to main function

    This allows scripts to call hunter.script_main() directly by building a
    Config object in-memory instead of needing to create files on disk.
    mfleming committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    0e9f4a4 View commit details
    Browse the repository at this point in the history
  2. Allow scripts to pass arguments to script_main()

    The default behaviour is to use sys.argv.
    mfleming committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    9d41c48 View commit details
    Browse the repository at this point in the history