-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels