def _create_scope(self, opts):
    (_, errors) = self.rest.create_scope(opts.bucket, opts.create_scope)
    _exit_if_errors(errors)
    _success('Scope created')
def _create_scope(self, opts):
    (_, errors) = self.rest.create_scope(opts.bucket, opts.create_scope)
    _exit_if_errors(errors)
    _success('Scope created')