docs: def change_password(*_, user_id=None, password=None):
      """ Change user password """
      click.echo(green('\nChange password:'))
      click.echo(green('-' * 40))
  
      with get_app().app_context():
          user = find_user(dict(id=user_id))
          if not user:
              click.echo(red('User not found\n'))
              return
  
          result = user_service.change_password(user, password)
          if isinstance(result, User):
              msg = 'Changed password for user {} \n'.format(user.email)
              click.echo(green(msg))
              return
  
          print_validation_errors(result)
          return