def do_stack(self,args):
parser = CommandArgumentParser("<STR_LIT>")<EOL>parser.add_argument(dest='<STR_LIT>',help='<STR_LIT>');<EOL>parser.add_argument('<STR_LIT>','<STR_LIT>',dest='<STR_LIT>',help='<STR_LIT>');<EOL>args = vars(parser.parse_args(args))<EOL>try:<EOL><INDENT>index = int(args['<STR_LIT>'])<EOL>if self.stackList == None:<EOL><INDENT>self.do_stacks('<STR_LIT>')<EOL><DEDENT>stack = AwsConnectionFactory.instance.getCfResource().Stack(self.stackList[index]['<STR_LIT>'])<EOL><DEDENT>except ValueError:<EOL><INDENT>stack = AwsConnectionFactory.instance.getCfResource().Stack(args['<STR_LIT>'])<EOL><DEDENT>if '<STR_LIT>' in args:<EOL><INDENT>AwsProcessor.processorFactory.Stack(stack,stack.name,self).onecmd('<STR_LIT>'.format(args['<STR_LIT>']))<EOL><DEDENT>AwsProcessor.processorFactory.Stack(stack,stack.name,self).cmdloop()<EOL>
Go to the specified stack. stack -h for detailed help