@rest_initialiser(cluster_init_check=True, version_check=True)
def execute(self, opts):
    (_, errors) = self.rest.get_bucket(opts.bucket_name)
    _exit_if_errors(errors)
    (_, errors) = self.rest.delete_bucket(opts.bucket_name)
    _exit_if_errors(errors)
    _success('Bucket deleted')
@rest_initialiser(cluster_init_check=True, version_check=True)
def execute(self, opts):
    (_, errors) = self.rest.get_bucket(opts.bucket_name)
    _exit_if_errors(errors)
    (_, errors) = self.rest.delete_bucket(opts.bucket_name)
    _exit_if_errors(errors)
    _success('Bucket deleted')