Get VPN status
james-rose opened this issue · 2 comments
james-rose commented
Is there a way to retrieve the VPN status (ie VPN Connected or not connected?). Is this even possible through the web api?
sttz commented
It's possible with the library but the CLI doesn't currently expose this information.
You could call expresso alfred
and when connected, the first entry in the JSON output has a ⚡️ icon and disconnect argument.
james-rose commented
The expresso alfred
call works perfectly for this. Many thanks!