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 select config options available as command line options #381

Closed
mountaindude opened this issue Mar 29, 2022 · 0 comments
Closed

Make select config options available as command line options #381

mountaindude opened this issue Mar 29, 2022 · 0 comments
Milestone

Comments

@mountaindude
Copy link
Collaborator

Some config settings could be useful to have as command line options.

For example, when investigating why Butler isn't working as it should you may want to enable debug logging.
It's then easier to add a --loglevel debug when starting Butler than to edit the config YAML file.

It would also be useful to have a command line option via which it's possiblöe to specify which YAML config file to read settings from.

Command line options should override the corresponding setting in the YAML config file.

The settings that should be available as command line options are (to begin with)

-c, --configfile
-l, --loglevel

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

No branches or pull requests

1 participant