expresso
expresso copied to clipboard
Cannot properly make use of 'status' in a cmd script
Expresso status
works very well, but cannot really be used in a script.
Rather than returning a full sentence, it would be great if it could return a simple boolean value of 0
or 1
.
Suppose the user needs first of all to find out whether the VPN is connected.
In a simple batch script in cmd language, it is a pain to break apart the sentences "VPN connected to server" or "VPN not connected", to figure out their actual value.
I understand the full sentence actually comes from ExpressVPN, not by Expresso.
Still, is there any way to get status
to return a machine-readable value?