trousseau
trousseau copied to clipboard
Support show --to-json
In order to work better with python sub process module check_output need to add option --to-json with show option.
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
Hey @oleiade i am new to golang and need your help for pr https://github.com/oleiade/trousseau/pull/196 let me know what you think about this pr
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
.