You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Description
We should have a
--quiet
(-q
) global flag for our CLI. This is very useful for scripting. For example in situations like usingcivo 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:
--yes
flagcivo kubernetes create --wait
While there are probably different levels of verbosity we can configure here, I think this right now should be sufficient for most use cases.
The text was updated successfully, but these errors were encountered: