def test_cli_version(cli_runner, version_cli_flag) -> None:
    """Verify Cookiecutter version output by `cookiecutter` on cli invocation."""
    result = cli_runner(version_cli_flag)
    assert result.exit_code == 0
    assert result.output.startswith('Cookiecutter')
Verify Cookiecutter version output by `cookiecutter` on cli invocation.
tests/test_cli.py