summaryrefslogtreecommitdiff
path: root/clusterman/commands/plugins.py
diff options
context:
space:
mode:
Diffstat (limited to 'clusterman/commands/plugins.py')
-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))