-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Copy link
Description
Is there an existing issue for this?
- I have searched the existing issues
Product concerned
All
Feature description
Hi,
the ovhcloud CLI supports 2 output options:
-j, --json Output in JSON
-y, --yaml Output in YAML
As it is mutually exclusive, and to be more "compliant" with other CLI tools, I suggest using the -o or --output option:
ovhcloud -o json
ovhcloud --outpout json
ovhcloud -o yaml
ovhcloud --output yaml
Example for kubectl:
-o, --output='':
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath,
jsonpath-as-json, jsonpath-file, custom-columns, custom-columns-file, wide). See custom columns
[https://kubernetes.io/docs/reference/kubectl/#custom-columns], golang template
[http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template
[https://kubernetes.io/docs/reference/kubectl/jsonpath/].
Example for helm:
-o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels