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

feat: support alternate config files #8

Merged
merged 2 commits into from
Jul 4, 2023
Merged

Conversation

SafeEval
Copy link
Member

@SafeEval SafeEval commented Jul 4, 2023

  • Add --config (-c) CLI argument for alternate, explicit configuration files.
  • Allow paths to be set using relative or absolute path.
  • Only raise "file not found" error if the config file was explicitly defined. Not on default.
  • Separate initialization of config defaults and the initialization of the config instance.

@SafeEval SafeEval merged commit 0c4a401 into main Jul 4, 2023
@SafeEval SafeEval deleted the custom-config-file branch July 4, 2023 07:20
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.

1 participant