@rest_initialiser(cluster_init_check=True, version_check=True)
def execute(self, opts):
    num_selectors = sum([opts.delete, opts.list, opts.my_roles, opts.set, opts.get, opts.get_group, opts.list_group, opts.delete_group, opts.set_group])
    if (num_selectors == 0):
        _exit_if_errors(['Must specify --delete, --list, --my_roles, --set, --get, --get-group, --set-group, --list-groups or --delete-group'])
    elif (num_selectors != 1):
        _exit_if_errors(['Only one of the following can be specified:--delete, --list, --my_roles, --set, --get, --get-group, --set-group, --list-groups or --delete-group'])
    if opts.delete:
        self._delete(opts)
    elif opts.list:
        self._list(opts)
    elif opts.my_roles:
        self._my_roles(opts)
    elif opts.set:
        self._set(opts)
    elif opts.get:
        self._get(opts)
    elif opts.get_group:
        self._get_group(opts)
    elif opts.set_group:
        self._set_group(opts)
    elif opts.list_group:
        self._list_groups()
    elif opts.delete_group:
        self._delete_group(opts)
@rest_initialiser(cluster_init_check=True, version_check=True)
def execute(self, opts):
    num_selectors = sum([opts.delete, opts.list, opts.my_roles, opts.set, opts.get, opts.get_group, opts.list_group, opts.delete_group, opts.set_group])
    if (num_selectors == 0):
        _exit_if_errors(['Must specify --delete, --list, --my_roles, --set, --get, --get-group, --set-group, --list-groups or --delete-group'])
    elif (num_selectors != 1):
        _exit_if_errors(['Only one of the following can be specified:--delete, --list, --my_roles, --set, --get, --get-group, --set-group, --list-groups or --delete-group'])
    if opts.delete:
        self._delete(opts)
    elif opts.list:
        self._list(opts)
    elif opts.my_roles:
        self._my_roles(opts)
    elif opts.set:
        self._set(opts)
    elif opts.get:
        self._get(opts)
    elif opts.get_group:
        self._get_group(opts)
    elif opts.set_group:
        self._set_group(opts)
    elif opts.list_group:
        self._list_groups()
    elif opts.delete_group:
        self._delete_group(opts)