summaryrefslogtreecommitdiffstats
path: root/cli/objects/live.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/objects/live.py')
-rw-r--r--cli/objects/live.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/cli/objects/live.py b/cli/objects/live.py
new file mode 100644
index 0000000..e62b648
--- /dev/null
+++ b/cli/objects/live.py
@@ -0,0 +1,17 @@
+# Copyright (C) 2023-2024 Soleta Networks <info@soleta.eu>
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the
+# Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+import argparse
+
+from cli.utils import *
+
+class OgLive():
+
+ @staticmethod
+ def list_live(rest):
+ r = rest.get('/oglive/list')
+ print_json(r.text)