printReport
uses tcmts.cli.diff.TONES, which uses tcmts.cli.style.bold, which uses node:util
Report lines for the terminal.
import { TONES } from "#codebase/tcmts/cli/diff"; import type { ReportLine } from "#codebase/tcmts/cli/diff"; export function printReport(lines: ReportLine[]) { for (const l of lines) console.log(l.map(([t, s]) => TONES[t](s)).join("")); }