openziti / ziti

The parent project for OpenZiti. Here you will find the executables for a fully zero trust, application embedded, programmable network @OpenZiti
https://openziti.io
Apache License 2.0
2.69k stars 153 forks source link

Add `-J` support to `ziti` CLI #768

Closed dovholuknf closed 2 years ago

dovholuknf commented 2 years ago

Right now -j is great, but if you want to pipe it through to jq you're gonna have a bad time... Let's add a -J for "JUST JSON".

plorenz commented 2 years ago

I tried ziti edge list services -j | jq and it was happy. If there are commands that are outputting non-json, let's just fix them

dovholuknf commented 2 years ago

Well I'll be. I must have had a jq that was malformed and didn't realize it. I just ran a few -j through jq and sure enough, they seem to be ok. I'll close this for now. thanks @plorenz