Skip to content

Feature request: a '--no-progress' switch for certain cli commands would be nice #2848

Closed
@hostep

Description

@hostep

Hi guys

I'm setting up a deployment process using capistrano to publish a new version to a production server.
But when running for example the setup:static-content:deploy script, we get a lot of lines in our output, like this snippet:

...
 ** [out :: example.com] .
 ** [out :: example.com] .
 ** [out :: example.com] .
 ** [out :: example.com] .
 ** [out :: example.com]
 ** [out :: example.com] Successful: 1843 files; errors: 0
 ** [out :: example.com] ---
 ** [out :: example.com]
 ** [out :: example.com] === Minify templates ===
 ** [out :: example.com] .
 ** [out :: example.com] .
 ** [out :: example.com] .
 ** [out :: example.com] .
 ** [out :: example.com] .
 ** [out :: example.com] .
 ** [out :: example.com] .
...

An option to get rid of the progress would be handy to keep the output a bit more clean. I do like the information messages, so only the '.' output should be removed by that switch.
I know there is a --quiet switch, but this won't output anything at all.

So something similar as composer uses:
--no-progress: Removes the progress display that can mess with some terminals or scripts which don't handle backspace characters.

Possible command candidates:

  • setup:di:compile
  • setup:di:compile-multi-tenant
  • setup:static-content:deploy
  • ...

I'm most likely forgetting some

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions