sttz / expresso

expresso is a command line interface to control the ExpressVPN app
MIT License
63 stars 11 forks source link

Select Random Location, Not the Closest #2

Closed hdanirwin closed 3 years ago

hdanirwin commented 3 years ago

Hi there,

Is there any way to select a random VPN within the USA? Right now when I type in "connect USA" it keeps giving me the same one.

sttz commented 3 years ago

I've released version 1.1.0, which adds the --random option to select a random location within a country.

Note that you need to use the exact country name or two-letter country code as listed by expresso locations. For the USA, you either have to use expresso connect --random "United States" or expresso connect --random US.

Using expresso connect USA will do a text search and pick the first matching location, the --random option does not apply here.

hdanirwin commented 3 years ago

That’s great, I’ll check it out.

Thanks for making this!

Sent from my iPhone

On Dec 19, 2020, at 3:32 PM, Adrian Stutz notifications@github.com wrote:

 I've released version 1.1.0, which adds the --random option to select a random location within a country.

Note that you need to use the exact country name or two-letter country code as listed by expresso locations. For the USA, you either have to use expresso connect --random "United States" or expresso connect --random US.

Using expresso connect USA will do a text search and pick the first matching location, the --random option does not apply here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.