Package starcluster :: Package commands :: Module config
[hide private]
[frames] | no frames]

Source Code for Module starcluster.commands.config

 1  #!/usr/bin/env python 
 2  import pprint 
 3  from completers import ClusterCompleter 
 4   
 5   
6 -class CmdConfig(ClusterCompleter):
7 """ 8 config [<cluster_tag> ...] 9 10 Show various sections from the config 11 """ 12 names = ['config', 'cfg'] 13
14 - def addopts(self, parser):
15 parser.add_option("-s", "--show-ssh-status", dest="show_ssh_status", 16 action="store_true", default=False, 17 help="output whether SSH is up on each node or not")
18
19 - def execute(self, args):
20 pprint.pprint(self.cfg.aws)
21