From e9597dc652e8ca99141b0d66bfca3e24f233d430 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 22 Mar 2022 14:42:46 +0100 Subject: Python: Add main method to implement a basic cli --- wrappers/python/main.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 wrappers/python/main.py (limited to 'wrappers/python/main.py') 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()) -- cgit v1.2.3