Open N2ITN opened 7 years ago
DOING NOW. UR SUCH A SLAVEDRIVER DAM
ok so my current pull request does it. I'm gonna mention that in the request
(Please help me come up with more options!)
[ ] Perform .speedyvpn/
(u)pdate ==> [-u|--update|--update-servers]
[ ] Check (l)atencies of servers specified within .speedyvpn/
==> [-l|--latency]
[x] Perform (a)ll actions using default settings ==> [-a|--all]
[ ] Be (v)erbose ==> [-v[vvv]|--verbose|--vverbose|--vvverbose|--vvvverbose]
[ ] Connect to a (s)pecific vpn-server (using nargs="?"
): ==> [-s<arg> <val> |--specific-<arg>==<val>]
(Args)
[ ] By (n)ame ==> [-sn <name>|--specific-name==<name>]
[ ] By current (l)atency-rank ==> [-sl <1-10>|--specific-latency==<1-10>]
[ ] By (p)revious latency-rank ==> [-sp <1-10>|-spl <1-10>|--specific-prev-latency==<1-10>]
[ ] By (c)ountry (Required: 1 of previous bullets) ==> [-sc<previous arg> <country code> <previous val>|--specific-country-<previous arg>==<country code>,<previous val>]
[ ] Enter password (using nargs="?"
): ==> [-p<arg> <val>|--passwd-<arg>==<val>]
[x] By (i)nfile ==> [-pi <path>|--passwd-infile==<path>]
[ ] By (d)irect input ==> [-pd <uname> <pass>|--passwd-direct==<uname>,<pass>]
[ ] By (p)rompt ==> [-pp|--passwd-prompt]
[ ] FOR: "Connect to a specific vpn-server" Dry Run ==> [-d| --dry-run]
Can be quite simple. Maybe even a way to add credentials + save (y/n), eventually with options for other behavior examples: force refresh servers, run in background, etc