def reset_password(username):
    """
    This command allows you to reset a user's password.
    """
    user = user_service.get_by_username(username)

    if not user:
        click.echo(f"[!] No user found for username: {username}")
        sys.exit(1)

    click.echo(f"[+] Resetting password for {username}")
    password1 = click.prompt("Password", hide_input=True)
    password2 = click.prompt("Confirm Password", hide_input=True)

    if password1 != password2:
        click.echo("[!] Passwords do not match")
        sys.exit(1)

    user.password = password1
    user.hash_password()
    database.commit()

    This command allows you to reset a user's password.
    
lemur/manage.py