def METHOD_NAME(args: list[str]) -> None:
    cfg_file = args[0]
    manifests_stdin_file = args[1]
    logging_args = SimpleNamespace(quiet=True, verbose=False, debug=False)
    log = ConsolePrinter(logging_args)
    yaml = Parsers.get_yaml_editor(explicit_start=False, preserve_quotes=False)
    input_manifest_map = build_manifest_map(manifests_stdin_file)
    output_manifest_map: dict[str, list[str]] = defaultdict(list)
    # `cfg_yaml` is the data structure parsed from the YAML index built while preparing this
    # post-renderer instance.
    (cfg_yaml, doc_loaded) = Parsers.get_yaml_data(yaml, log, cfg_file)
    if not doc_loaded:
        exit(1)
    # Go through the items in the configuration file and apply the replacements requested.
    for source_filename, source_changes_list in cfg_yaml.items():
        input_manifests = input_manifest_map.get(source_filename)
        if not input_manifests:
            continue
        for input_manifest, manifest_change_spec in zip(input_manifests, source_changes_list):
            manifest_change_paths = manifest_change_spec["paths"]
            # Manifests that require no changes will have an empty `paths` element in the change spec,
            # so we add to the output map the manifest document unchanged.
            if not manifest_change_paths:
                output_manifest_map[source_filename].append(input_manifest)
                continue
            (manifest_yaml, doc_loaded) = Parsers.get_yaml_data(
                yaml, log, input_manifest, literal=True
            )
            if not doc_loaded:
                continue
            processor = Processor(log, manifest_yaml)
            for path_spec, replacement in manifest_change_paths.items():
                try:
                    processor.set_value(path_spec, replacement)
                except YAMLPathException as ex:
                    log.critical(ex, 119)
            output_manifest_map[source_filename].append(dump_yaml_data(yaml, manifest_yaml))
    # Include in the output the files that didn't require any replacement
    remaining_files = set(input_manifest_map.keys()) - set(output_manifest_map.keys())
    for remaining_file in remaining_files:
        input_file = input_manifest_map.get(remaining_file)
        if input_file:
            output_manifest_map[remaining_file] = input_file
    print_manifests(output_manifest_map)