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 show --to-json #195

Open
Shrhawk opened this issue Oct 20, 2018 · 3 comments
Open

Support show --to-json #195

Shrhawk opened this issue Oct 20, 2018 · 3 comments
Assignees
Milestone

Comments

@Shrhawk
Copy link

Shrhawk commented Oct 20, 2018

In order to work better with python sub process module check_output need to add option --to-json with show option.

@oleiade
Copy link
Owner

oleiade commented Oct 20, 2018

Hey @Shrhawk

Thanks for taking the time to submit a feature request. I think it's a great idea! I'm currently working on a 1.0.0 version which is gonna bring a lot of changes to the API for the better, including an -o option which will allow you to output any results in the format you wish (planning on yaml, json and toml at the moment)

Just a little more patience :-)
If you're in a hurry, implementing this option in the current version of trousseau should be pretty trivial, and I'm happy to guide you through the process of implementing it yourself.

Cheers

@Shrhawk
Copy link
Author

Shrhawk commented Oct 28, 2018

Hey @oleiade i am new to golang and need your help for pr #196 let me know what you think about this pr

@oleiade oleiade added this to the 1.0.0 milestone Aug 17, 2021
@oleiade oleiade self-assigned this Aug 17, 2021
@oleiade
Copy link
Owner

oleiade commented Aug 17, 2021

Hi @Shrhawk,

Sorry for not being reactive (after three years... yeah. I know). I'm gonna adress this the same way as the kubectl command: trousseau show -o json|yaml|plain.

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

No branches or pull requests

2 participants