Unsolicited messages output to stdout, --quiet does not do anything
See original GitHub issue- Install Poetry 0.12.17
- poetry config settings.virtualenvs.create false
- Try to run something using
poetry run
. Observe that a message “Skipping virtualenv creation, as specified in config file.” is output to stdout. - Try
poetry -q run
,poetry run --quiet
and other variations thereof. Observe that nothing is run and an exception is raised.
There should be a way to suppress all output other than that of the command being run. Otherwise it’s impossible to run scripts reliably.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:22
- Comments:20 (9 by maintainers)
Top Results From Across the Web
Suppress STDOUT during RSpec, but not Pry - Stack Overflow
Now, I have to explicitly create the Cli instances in my tests with quiet: true , but I can run RSpec without unwanted...
Read more >Wget is silent, but it displays error messages - Super User
I want to download a file with Wget, but per the usual UNIX philosophy, I don't want it to output anything if the...
Read more >Why do many commands provide a "quiet" option?
Well, quiet means that no response is expected; it would be unexpected if we'd see output anyway. (In case that there's anyway something...
Read more >Python Recipes- Suppress Stdout And Stderr Messages
Python recipes to suppress stdout and stderr messages into devnull or your own log file via context manager.
Read more >STDOUT and STDERR redirection for nc - bash - Ask Ubuntu
-q, --quiet, --silent Quiet; do not write anything to standard output. Exit immediately with zero status if any match is found, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would be interested on an update on this. 😃
I’ve been struggling with a similar issue (with Poetry 1.1.4) and I believe I have found several inconsistencies:
poetry -q install
is quiet, but doesn’t do anything (seemingly)poetry install -q
works, but is as verbose aspoetry install
poetry -q update
doesn’t do anything (quietly)poetry update -q
works as expected, quietlypoetry --ansi <whatever>
gives an error message. Same with--no-ansi
or-v
.This is also inconsistent with the usage:
Ideally, it shouldn’t matter wether
-q
,-v
,--ansi
, etc. are before or after the command.