Skip to content
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

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

Closed
hostep opened this issue Dec 31, 2015 · 1 comment

Comments

@hostep
Copy link
Contributor

hostep commented Dec 31, 2015

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!

@hostep hostep changed the title Feature request: A '--no-progress' switch for certain cli commands would be nice Feature request: a '--no-progress' switch for certain cli commands would be nice Dec 31, 2015
@piotrekkaminski
Copy link
Contributor

Closing as duplicate in favor of #3692 that has more active discussion.

magento-engcom-team pushed a commit that referenced this issue Jul 17, 2018
[Performance] MAGETWO-93184: [Forwardport] Static Assets deployment throws errors when redis is used for cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants