Skip to content

Cannot properly make use of 'status' in a cmd script #17

@unalignedcoder

Description

@unalignedcoder

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions