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

[Request] Add a --silent or similar switch to CLI commands #595

Open
ericgrubaughcompass opened this issue Jul 26, 2022 · 3 comments
Open
Labels
awaiting cases Awaiting similar enhancement requests enhancement New feature or request tracked Already in Backlog

Comments

@ericgrubaughcompass
Copy link

When running CLI commands like project:deploy, I would like to have a --silent or similar flag which would reduce the command's log output such that only errors are displayed.

This increased control over log output content would be immensely useful in reducing the size and clutter of CLI command output, particularly when executing from a continuous integration environment.

@colivares82
Copy link
Member

This is a good addition Eric, thanks for the suggestion 👍

@colivares82 colivares82 added the enhancement New feature or request label Jul 27, 2022
@ericgrubaughcompass
Copy link
Author

As a workaround in the meantime, we pipe the stdout of our project:deploy commands to null:

suitecloud project:deploy | 1>/dev/null

@alisyed-19 alisyed-19 added the awaiting cases Awaiting similar enhancement requests label Oct 5, 2022
@tourajvaziri tourajvaziri added the tracked Already in Backlog label Oct 7, 2022
@ericgrubaughcompass
Copy link
Author

As a workaround in the meantime, we pipe the stdout of our project:deploy commands to null:

suitecloud project:deploy | 1>/dev/null

We've found this output redirection actually does not work because any error messages printed by the suitecloud command are printed to STDOUT instead of STDERR, so they get muted by the redirection as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting cases Awaiting similar enhancement requests enhancement New feature or request tracked Already in Backlog
Projects
None yet
Development

No branches or pull requests

4 participants