Rafficer / linux-cli-community

Linux command-line client for ProtonVPN. Written in Python.
https://protonvpn.com
GNU General Public License v3.0
1.31k stars 198 forks source link

[Enhancement] Use a Python script to connect and disconnect #370

Open zedthegreat opened 7 months ago

zedthegreat commented 7 months ago

Is your feature request related to a problem? Please describe.

Perhaps this is an already existing function but if it is, there seems to be no documentation of such a capability. I am interested in being able to control protonvpn using a Python script.

Describe the solution you'd like

Connect to ProtonVPN, selecting the server from within a Python script.

Describe alternatives you've considered

Use subprocess to call protonvpn-cli.

Additional context