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

Add support for JSON output #2012

Closed
joshwolfer opened this issue Mar 13, 2023 · 1 comment
Closed

Add support for JSON output #2012

joshwolfer opened this issue Mar 13, 2023 · 1 comment
Labels
type/enhancement New feature or request

Comments

@joshwolfer
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Is your feature request related to a problem? Please describe.

Not related to a problem.

Feature Description

I would like to be able to take the output from certain commands and easily consume it to be re-usable. For example:

$ consul-k8s proxy list -n unicorn
Namespace: unicorn

Name                            Type
unicorn-frontend-97848474-mkczg Sidecar

I would like to have the output presented in json so I can quickly resolve the proxy list and then do additional things.

Similar to how kubectl does it:
consul-k8s proxy list -n unicorn -o json

Use Case(s)

Explained above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants