def report_html_tree_structure(
self,
base: Path,
components: list[str],
registry: list[str],
template: Path
) -> None:
replacement = generate_replacement_map(components)
def html_formatter_with_replacement(item: Path) -> str:
return self._html_formatter(item, replacement)
self._report_tree_structure(
title='\nThe following template(s) will be created:\n\n',
base=base,
components=components,
registry=registry,
template=template,
formatter=html_formatter_with_replacement,
transformation=self._html_transformation,
)