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

Json output #107

Open
jbtrystram opened this issue Nov 24, 2021 · 7 comments
Open

Json output #107

jbtrystram opened this issue Nov 24, 2021 · 7 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jbtrystram
Copy link
Member

supress all the "user friendly outputs" and display the JSON result of the operations

@jbtrystram jbtrystram self-assigned this Nov 24, 2021
@jbtrystram jbtrystram added the enhancement New feature or request label Nov 24, 2021
@jbtrystram jbtrystram moved this to In Progress in Drogue Cloud 0.8 Nov 24, 2021
@jbtrystram jbtrystram moved this from In Progress to Todo in Drogue Cloud 0.8 Nov 24, 2021
@ctron
Copy link
Member

ctron commented Nov 24, 2021

Maybe that should be done "optionally".

@jbtrystram
Copy link
Member Author

When creating or deleting a resource, for example there is no JSON result. Simply an HTTP code. Should drg wrap that in a JSON object ?

@ctron
Copy link
Member

ctron commented Jan 10, 2022

good question. might result in {}

@lulf
Copy link
Member

lulf commented Mar 21, 2022

Shouldn't this be similar to kubectl -o json ? I find the user friendly user output better as default, then have -o json as an alternative output.

@jbtrystram
Copy link
Member Author

yep sorry if my first message was unclear :)

@jbtrystram jbtrystram added this to the 0.9 milestone Mar 24, 2022
@jbtrystram
Copy link
Member Author

Added in #131

@jbtrystram
Copy link
Member Author

jbtrystram commented May 24, 2022

There are few cases where JSON output is not yet implemented so i'm leaving this open :
[x] : config subcommand
[x] : login subcommand
[x] : whoami subcommand
[] : certs operations
[x] : apply subcommand

@jbtrystram jbtrystram moved this from Todo to In Progress in Drogue Cloud 0.10 Jul 5, 2022
@ctron ctron moved this from In Progress to Postpone in Drogue Cloud 0.10 Jul 6, 2022
@ctron ctron moved this to Todo in Drogue Cloud 0.11 Jul 7, 2022
@jbtrystram jbtrystram moved this from Todo to In Progress in Drogue Cloud 0.11 Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Postpone
Status: In Progress
Development

No branches or pull requests

3 participants