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

We need a global --quiet (-q) flag #497

Open
fernando-villalba opened this issue Jan 23, 2025 · 0 comments
Open

We need a global --quiet (-q) flag #497

fernando-villalba opened this issue Jan 23, 2025 · 0 comments

Comments

@fernando-villalba
Copy link
Contributor

Description

We should have a --quiet (-q) global flag for our CLI. This is very useful for scripting. For example in situations like using civo kubernetes create --wait a quiet flag could be used to prevent output and pollute logs (for example, the log of CI tool)

Acceptance Criteria

The quiet flag must do the following:

  • Disable interactive prompts that ask for confirmation or input. If input is required and no default is available, make the command fail - be very careful here, always make the defaults safe! For example do not delete things by default, fail instead. If the user wants to override this combine it with the the --yes flag
  • Do not output any progress indicators, such as the one seen when using civo kubernetes create --wait
  • Only output errors, especially if those errors are failure errors.

While there are probably different levels of verbosity we can configure here, I think this right now should be sufficient for most use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant