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

Source Code for Module starcluster.commands.showbucket

 1  from base import CmdBase 
 2   
 3   
4 -class CmdShowBucket(CmdBase):
5 """ 6 showbucket <bucket> 7 8 Show all files in an S3 bucket 9 10 Example: 11 12 $ starcluster showbucket mybucket 13 """ 14 names = ['showbucket', 'sb'] 15
16 - def execute(self, args):
17 if not args: 18 self.parser.error('please specify an S3 bucket') 19 for arg in args: 20 self.s3.list_bucket(arg)
21