sttz/expresso

Get VPN status

james-rose opened this issue · 2 comments

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.

The expresso alfred call works perfectly for this. Many thanks!