Open jasonwalsh opened 5 years ago
This pull request includes a small feature that I and possibly others may find useful with tools like jq. The json flag returns the output as a JSON document like so:
jq
json
$ discover addrs json=true ...
{ "addresses": [ "172.31.92.102", "172.31.34.208", "172.31.13.215" ] }
I believe #69 should fix the build failure.
Is there any use for this? If not, I can close the PR.
All committers have signed the CLA.
This pull request includes a small feature that I and possibly others may find useful with tools like
jq
. Thejson
flag returns the output as a JSON document like so: