async def _prompt_user() -> User:
    repository = resolve(UserRepository)
    email = click.prompt('Email')
    user = (await repository.get_by_email(email))
    if (user is None):
        click.echo(click.style(f'User does not exist: {email}', fg='red'))
        sys.exit(1)
    return user
async def _prompt_user() -> User:
    repository = resolve(UserRepository)
    email = click.prompt('Email')
    user = (await repository.get_by_email(email))
    if (user is None):
        click.echo(click.style(f'User does not exist: {email}', fg='red'))
        sys.exit(1)
    return user