Add ability to set verbosity level through environment variable
- [x] I have searched the issues of this repo and believe that this is not a duplicate.
- [x] I have searched the FAQ and general documentation and believe that my question is not already covered.
Feature Request
Currently, log verbosity can only be set through the command line (e.g. poetry install -vvv), but sometimes it would be nice to set it via environment variable. For example, if the invocation of poetry is outside of your control, such as (in my case) dh-poetry.
there are hundreds of well-meaning feature requests on this repository which, realistically, are never going to happen unless the raiser submits an MR (and maybe not even then).
I think this is among them.
@benbariteau On the off chance that you still have need for it, I had this same thought and wound up writing a wrapper script to accomplish this. Feel free to use it, should work for any POSIX environment.
Cheers!
https://github.com/DJStompZone/PoetryVerbosity
There is SHELL_VERBOSITY flag that sets up the verbosity level. It should probably be added to docs somewhere.