@rest_initialiser(cluster_init_check=True, version_check=True)
def execute(self, opts):
    if (opts.new_pass is None):
        _exit_if_errors(['--new-password is required'])
    (_, rv) = self.rest.user_change_passsword(opts.new_pass)
    _exit_if_errors(rv)
    _success(f'Changed password for {opts.username}')
@rest_initialiser(cluster_init_check=True, version_check=True)
def execute(self, opts):
    if (opts.new_pass is None):
        _exit_if_errors(['--new-password is required'])
    (_, rv) = self.rest.user_change_passsword(opts.new_pass)
    _exit_if_errors(rv)
    _success(f'Changed password for {opts.username}')