Closed AlinaSecret closed 1 month ago
/hold
depends on https://github.com/openshift/kube-compare/pull/10
/unhold
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: pixelsoccupied
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@AlinaSecret: all tests passed!
Full PR test history. Your PR dashboard.
A new flag '-o' ('output') is introduced, allowing the user to choose the output format of the command. The options are json/yaml/human. The default behavior remains the same, with output in 'human' format. The flag supports auto-completion for the output format options, implemented in the code of the command. To enable auto-completion when using the command as a plugin, an additional file 'kubectl_complete-cluster_compare' was added. The file should be present in a location in PATH along with the plugin to enable auto-completion. Also added supporting tests for JSON and YAML output modes.