||7 years ago|
|jifaddrs||7 years ago|
|jroute||7 years ago|
|LICENSE.txt||7 years ago|
|README.md||7 years ago|
JSON-based netlink utilities
One of my pet peeves with network tools like iproute2, ifconfig, route are that they are terrible to parse.
With tools like jq out there now, parsing JSON in an awk style is a lot more realistic.
The two tools
route in a
read-only, JSON format for consumption. People who have used Chef's
see several similarities. They accept no arguments and output to stderr on
error, and stdout on success.
If you want something that is more friendly to standard unix tools like
awk, check out my tfip project.
You must have a go runtime, for now. The latest version you can get is usually best.
$ GOPATH=$HOME go get github.com/erikh/jsonlink/jifaddrs $ GOPATH=$HOME go get github.com/erikh/jsonlink/jroute
Erik Hollensbe email@example.com