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

Allow consul exec output to be machine readable #3099

Open
levenaux opened this issue Jun 1, 2017 · 2 comments
Open

Allow consul exec output to be machine readable #3099

levenaux opened this issue Jun 1, 2017 · 2 comments
Labels
theme/cli Flags and documentation for the CLI interface type/enhancement Proposed improvement or new feature
Milestone

Comments

@levenaux
Copy link

levenaux commented Jun 1, 2017

When programmatically executing consul exec we currently have to parse the output to get the values we need.
It would be nice to have a way of executing the consul exec with -machine-readable to stop any verbose output coming from Consul.

@slackpad slackpad added type/enhancement Proposed improvement or new feature theme/cli Flags and documentation for the CLI interface labels Jun 2, 2017
@slackpad
Copy link
Contributor

slackpad commented Jun 2, 2017

Might be nice to have something like a -json output that provides a structured representation of the results, which would let you use jq or similar to pick out the bits you need.

@imcom
Copy link

imcom commented Aug 27, 2017

this could be a really killer-feature! BTW, for Consul exec, is there an intention to make it available through an API?

@slackpad slackpad added this to the Unplanned milestone Jan 5, 2018
@slackpad slackpad removed the post-0.9 label Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/cli Flags and documentation for the CLI interface type/enhancement Proposed improvement or new feature
Projects
None yet
Development

No branches or pull requests

3 participants