def test_cli_replay_generated(cli_runner) -> None:
    """Test cli invocation correctly generates a project with replay."""
    template_path = 'tests/fake-repo-replay/'
    result = cli_runner(
        template_path,
        '--replay-file',
        'tests/test-replay/valid_replay.json',
        '-o',
        'tests/tmp/',
        '-v',
    )
    assert result.exit_code == 0
    assert Path('tests/tmp/replay-project/README.md').read_text().strip() == 'replayed'
Test cli invocation correctly generates a project with replay.
tests/test_cli.py