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

ENH: Adds the abillity to pass a path to an alternate config file to run badger #121

Merged
merged 6 commits into from
Nov 6, 2024

Conversation

YektaY
Copy link
Collaborator

@YektaY YektaY commented Nov 5, 2024

Description

Adds a argument flag -cf or --config_filepath which can be used when launching badger to have it read and write to a config file that is not the default one in the user folder.

For example if badger is launched with: badger -g -cf "path/to/config/example_config.yaml" then the setting from the example_config.yaml are loading in to badger and any changes made are saved back to the example_config.yaml. if badger is then launched with just badger -g it will instead load the config settings from the default config file.

This only works for the GUI version of badger.

@roussel-ryan roussel-ryan marked this pull request as ready for review November 5, 2024 17:14
@roussel-ryan roussel-ryan merged commit 9d26c4a into xopt-org:main Nov 6, 2024
6 checks passed
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