def METHOD_NAME() -> t.Generator[str, None, None]:
    """Create a temporary directory for cookiecutters and target output."""
    name = ".output/"
    try:
        pathlib.Path(name).mkdir(parents=True)
    except FileExistsError:
        # Directory already exists
        shutil.rmtree(name)
        pathlib.Path(name).mkdir(parents=True)
    yield name
    shutil.rmtree(name)