-
Notifications
You must be signed in to change notification settings - Fork 0
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
Verbosity as Resource Option triggers an error #11
Comments
I can confirm I experienced that. I had to remove all occurrences of that from my code. |
It shows the conflict that the verbosity option could be set in a config file. I can mitigate this problem (and keep back-compatibility) by making the option "eager" only if there is no way to set it in the config.
It seems a good compromise, without trying to pre-load the files to search for a possible verbosity config before loading the configs. |
can we parse the option twice and call the callback twice if eager mode is set? |
Even then, what is the behavior when When we have the |
The fix to have the correct log level in config files (implemented in #6) has the side effect of causing an error when
verbosity_option
is also a config option, and itsentry_point_group
argument is not provided.Calling
my_command -v
causes the following error:The text was updated successfully, but these errors were encountered: