-
Notifications
You must be signed in to change notification settings - Fork 49
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
support for execution metrics API #210
support for execution metrics API #210
Conversation
merge upstream
…o dev/execution_query_metrics # Conflicts: # rd-api-client/src/main/java/org/rundeck/client/api/RundeckApi.java
CLI Options for rundeck/rundeck#4317 |
I see the "executions metrics" command outputs only raw json or xml. A future enhancement would be to behave like the other rd commands that output a textual view of the response, so it is useful to eyeball it on the commandline, but allow using |
The default of the command is indeed to output a readable text version of the response, unless either –json or –xml arguments are specified, in which case the output raw json or xml respectively. I didn’t notice the RD_FORMAT env var so setting it will have no effect.
From: Greg Schueler <[email protected]>
Reply-To: rundeck/rundeck-cli <[email protected]>
Date: Wednesday, January 16, 2019 at 16:28
To: rundeck/rundeck-cli <[email protected]>
Cc: Alberto Hormazabal <[email protected]>, Author <[email protected]>
Subject: Re: [rundeck/rundeck-cli] support for execution metrics API (#210)
I see the "executions metrics" command outputs only raw json or xml. A future enhancement would be to behave like the other rd commands that output a textual view of the response, so it is useful to eyeball it on the commandline, but allow using RD_FORMAT=json env var to specify a formatted output.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#210 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ALArvY3-zqCdYw4PSa88wcvT8LPcB9ylks5vD31HgaJpZM4ZXdTC>.
|
@ahormazabal great, i misread the first options check and thought it was requiring |
add -%/--format output remove --json, defer to RD_FORMAT allow RD_FORMAT=xml or --xml
Adds new command 'rd executions metrics help'