Skip to content

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

Description

@fernando-villalba

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions