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

Restructure config files #33

Open
4 tasks
ErikBjare opened this issue May 16, 2017 · 1 comment
Open
4 tasks

Restructure config files #33

ErikBjare opened this issue May 16, 2017 · 1 comment

Comments

@ErikBjare
Copy link
Member

I think that a default config section title of $appname (as in the {afk, window, spotify} watchers currently) is a bad idea.

  • Change to a proper default section.

We should also handle testing settings using configparsers override functionality (override some defaults when run in testing mode), not as it's own defaults.

  • Testing modes should be an override of the default, not a different default.

I also want to add comments to the config files to make them easier to edit.

It would be nice to have some kind of argparse + configparser settings union to simplify overriding parameters using the commandline.

  • (extra) Nice way to use argparse output as overrides.
@ErikBjare
Copy link
Member Author

I also would like to switch to toml as the config format.

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