1
2
3 from base import CmdBase
4
5
7 """
8 runplugin <plugin_name> <cluster_tag>
9
10 Run a StarCluster plugin on a runnning cluster
11
12 plugin_name - name of plugin section defined in the config
13 cluster_tag - tag name of a running StarCluster
14
15 Example:
16
17 $ starcluster runplugin myplugin mycluster
18 """
19 names = ['runplugin', 'rp']
20
22 if len(args) != 2:
23 self.parser.error("Please provide a plugin_name and <cluster_tag>")
24 plugin_name, cluster_tag = args
25 self.cm.run_plugin(plugin_name, cluster_tag)
26