summaryrefslogtreecommitdiffstats
path: root/cli/objects/modes.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/objects/modes.py')
-rw-r--r--cli/objects/modes.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/objects/modes.py b/cli/objects/modes.py
new file mode 100644
index 0000000..bf175d6
--- /dev/null
+++ b/cli/objects/modes.py
@@ -0,0 +1,6 @@
+class OgModes():
+
+ @staticmethod
+ def list_available_modes(rest):
+ r = rest.get('/modes')
+ print(r.json())