summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-03-22 14:42:46 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-03-22 14:42:46 +0100
commite9597dc652e8ca99141b0d66bfca3e24f233d430 (patch)
tree42e0154a229a1b39124dc3d86dcf6f9fb39ecfb7 /wrappers
parent22f9d7bafc60f56259e74df98e544b5820cfca5b (diff)
Python: Add main method to implement a basic cli
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/python/main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/wrappers/python/main.py b/wrappers/python/main.py
new file mode 100644
index 0000000..5383799
--- /dev/null
+++ b/wrappers/python/main.py
@@ -0,0 +1,5 @@
+import eduvpncommon.main as eduvpn
+
+eduvpn.Register("org.eduvpn.app.linux", "configs", eduvpn.state_change)
+
+print(eduvpn.GetDiscoServers())