issue_manifest.write_manifest()

Write a manifest to disk as YAML.

Usage

issue_manifest.write_manifest(
    manifest,
    output_path,
    console,
    overwrite=False,
)

Parameters

manifest: dict[str, Any]

Manifest data to serialize.

output_path: str | Path

Destination path for the YAML file.

console: Console

Rich console used for progress messages.

overwrite: bool = False
Whether to bypass the overwrite confirmation prompt.

Raises

RuntimeError
Raised when the target file exists and overwrite is declined.