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 Tables and Json output #61

Merged
merged 5 commits into from
Jun 24, 2024
Merged

Add Tables and Json output #61

merged 5 commits into from
Jun 24, 2024

Conversation

Gonmeso
Copy link
Collaborator

@Gonmeso Gonmeso commented Jun 10, 2024

This PR aims to fix #15 bringint the power of Rich Tables and creating the --json option. This option allows the standard output to be only the json si it can be handled by external tools like jq or even parsed in python.

An example with endpoints:

giza endpoints list -a
image

giza endpoints list -a --json
image

giza endpoints list -a --json | jq ."[2].service_name" (from the object in position 2 take the field "service_name")
image

@jbmkahdeksan maybe you want to take a look

@Gonmeso Gonmeso merged commit a145ecc into main Jun 24, 2024
1 check passed
@Gonmeso Gonmeso deleted the feature/add-json-output branch June 24, 2024 10:28
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

Successfully merging this pull request may close these issues.

Improve output in the terminal
1 participant