Closed Spaider closed 11 months ago
Sounds like a great idea for the list
and status
options for vpnutil
@Spaider vpnutil list
now outputs such a json:
{
"VPNs" : [
{
"name" : "VPN1",
"status" : "Connected"
},
{
"name" : "VPN2",
"status" : "Disconnected"
},
{
"name" : "VPN3",
"status" : "Disconnected"
}
]
}
It would be nice to have machine-readable output for
vpnutil
. JSON looks like obvious choice these days.