-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add a quiet flag to remove superfluous output #237
Comments
This came up as part of upgrading to Workflow v2.5 and needing to convert all my applications from replication controllers to deployments. I am sure there are other instances that I have not yet thought of where this would be useful. It would also make it easy to provide one-liners in documentation as part of upgrade processes in the future for such tasks. |
Deis prints the warning message to stderr, so that can be masked be redirecting the output, as a workaround for now. I saw your |
Also, deis don't really use return codes at all rigt now (I think everything returns 1) that needs to be fixed before error handling in quiet mode can really be useful. |
I have mixed feelings on prioritization of issues, because I think they have different but overlapping use cases. A With all that said (and without knowing which seems easiest to implement) the |
This issue was moved to teamhephy/workflow-cli#19 |
Currently
deis
commands output a "header" as the first line of output, for exampledeis apps:list
will output something like:In some situations command may also output some warning:
It would make it easier to use the output of
deis
commands as input to other commands if a-q --quiet
flag was available which removed the superfluous output.The text was updated successfully, but these errors were encountered: