summaryrefslogtreecommitdiff
path: root/clusterman/commands
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-10-26 15:49:19 +0200
committerLoic Guegan <loic.guegan@mailbox.org>2023-10-26 15:49:19 +0200
commitabd29e2cdfe83160869631a0f391d428bbe11210 (patch)
tree21cb5d0c2e6e8168d4e4f921a69a0f60308b849a /clusterman/commands
parent068fba04843a8e1a9a96c13211f98a89c39100a5 (diff)
Minor changes
Diffstat (limited to 'clusterman/commands')
-rw-r--r--clusterman/commands/plugins.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/clusterman/commands/plugins.py b/clusterman/commands/plugins.py
new file mode 100644
index 0000000..caed02a
--- /dev/null
+++ b/clusterman/commands/plugins.py
@@ -0,0 +1,7 @@
+import os
+from clusterman.config import CONF
+
+
+def execute(name,args):
+ executable=CONF["plugins"][name]
+ os.system(executable+" "+" ".join(args))