-
Notifications
You must be signed in to change notification settings - Fork 341
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
config file #85
Comments
What do we want to configure?
Sounds like there'll be a hierarchy, where:
dynaconf already supports overrides (https://www.dynaconf.com/faq/#default-override-workflow), could work fine how do we define what's configurable in a plugin? maybe label non-configurable values as immutable / internal - https://realpython.com/python-mutable-vs-immutable-types/#techniques-to-control-mutability-in-custom-classes |
CLI flow:
|
So far so good. We also need to consider setting per-plugin vars.
|
different clauses per class
provides defaults for all plugins
provide one config file, allow for another config file to be created that can override these
e.g.
garak.defaults.conf
and alsogarak.conf
add a .gitignore for the local, non-global one
hide the global one in a subdir to discourage editing, add a notice that it'll get clobbered
The text was updated successfully, but these errors were encountered: