Closed prudloff-insite closed 4 years ago
That would be nice indeed. I was looking at the symfony/console a while ago to find out how we can determine if the overwrite will succeed or not, but didnt find it at the time. Feel free to suggest a solution!
I am not sure if this can be automated but having an option would be a correct workaround IMHO (similar to the --no-progress
Composer option).
I was investigating this further last evening and think I might have something that works with default symfony/console
settings. Need to test it out a bit more though :)
(FYI @prudloff-insite : I've uploaded the changeset to #818 - feel free to test it out)
When running in a CI, grumphp is really verbose because the
overwrite()
method ofConsoleSectionOutput
is not able to replace the text.It would be nice to have an option to disable this behaviour and simply display the result at the end.
My configuration
Steps to reproduce: You can simulate this behaviour like this:
Result: