def assert_in_reflex_dir():
    """Assert that the current working directory is the reflex directory.

    Raises:
        Exit: If the current working directory is not the reflex directory.
    """
    if not constants.Config.FILE.exists():
        console.error(
            f"[cyan]{constants.Config.FILE}[/cyan] not found. Move to the root folder of your project, or run [bold]{constants.Reflex.MODULE_NAME} init[/bold] to start a new project."
        )
        raise click.exceptions.Exit(1)
Assert that the current working directory is the reflex directory.

    Raises:
        Exit: If the current working directory is not the reflex directory.
    
reflex/utils/prerequisites.py