jakobilobi / wsstat

Check the status of a WebSocket endpoint.
MIT License
5 stars 1 forks source link

response as json #1

Closed Maharacha closed 5 months ago

Maharacha commented 5 months ago

would it make sense to make the response a json object instead? I want to run: wsstat -json rpc_methods wss://polkadot-rpc.dwellir.com | jq

jakobilobi commented 5 months ago

Might indeed! Hmm perhaps it'll be a second flag though, like -ro for "response only".

jakobilobi commented 5 months ago

I added setting -ro in the latest release, v0.1.1. Try it out!