1 from base import CmdBase 2 3 4 -class CmdListBuckets(CmdBase): 5 """ 6 listbuckets 7 8 List all S3 buckets 9 """ 10 names = ['listbuckets', 'lb'] 11 12 - def execute(self, args): 13 self.s3.list_buckets() 14