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

support for execution metrics API #210

Merged
merged 12 commits into from
Jan 18, 2019

Conversation

ahormazabal
Copy link
Contributor

Adds new command 'rd executions metrics help'

@ahormazabal
Copy link
Contributor Author

CLI Options for rundeck/rundeck#4317

@gschueler
Copy link
Member

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.

@ahormazabal
Copy link
Contributor Author

ahormazabal commented Jan 16, 2019 via email

@gschueler
Copy link
Member

@ahormazabal great, i misread the first options check and thought it was requiring --xml or --json! thanks

add -%/--format output
remove --json, defer to RD_FORMAT
allow RD_FORMAT=xml or --xml
@gschueler gschueler merged commit 1b0466f into rundeck:master Jan 18, 2019
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.

2 participants