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