Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format json output by default or add an option for that #2235

Closed
dgolovin opened this issue Oct 3, 2019 · 3 comments
Closed

Format json output by default or add an option for that #2235

dgolovin opened this issue Oct 3, 2019 · 3 comments
Assignees

Comments

@dgolovin
Copy link
Contributor

dgolovin commented Oct 3, 2019

[kind/Enhancement]

Which functionality do you think we should update/improve?

Output produced by -o json should be formatted

Why is this needed?

Because it has more info about odo objects than table output and it is hard to get that information from output like this
image

@girishramnani
Copy link
Contributor

If the -o json is used by machine, formatting it would make no difference. If it's tough for developers then wouldn't just using jq work?

@dgolovin
Copy link
Contributor Author

dgolovin commented Oct 3, 2019

oc get -o json and kubectl get -o json do return formatted json, why we should fall out of the line? '-o json' is a good source of additional, information if default table view output is not enough.

@girishramnani
Copy link
Contributor

Resolved by #2267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants