def _get_group(self, opts):
    if (opts.group is None):
        _exit_if_errors(['--group-name is required with the --get-group option'])
    (group, errors) = self.rest.get_user_group(opts.group)
    _exit_if_errors(errors)
    print(json.dumps(group, indent=2))
def _get_group(self, opts):
    if (opts.group is None):
        _exit_if_errors(['--group-name is required with the --get-group option'])
    (group, errors) = self.rest.get_user_group(opts.group)
    _exit_if_errors(errors)
    print(json.dumps(group, indent=2))