diff options
| author | Dennis Fink | 2026-05-14 12:55:07 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-05-14 12:55:07 +0200 |
| commit | 99e4756dc12650967cf18f3b93f38629cd09b232 (patch) | |
| tree | 0e48595ba7ac2c6b6cfdbbbb1b6de391f47685a5 /.gitattributes | |
| parent | dc3d2cb05800d866972b7ba32022428e8474beaa (diff) | |
| download | transcode.sh-99e4756dc12650967cf18f3b93f38629cd09b232.tar.gz transcode.sh-99e4756dc12650967cf18f3b93f38629cd09b232.zip | |
refactor(output): centralize formatted terminal messages
Add a shared emit() helper for styled terminal output and route error(),
msg(), warn(), verbose(), and debug() through it.
This removes duplicated printf formatting across the output helpers
while keeping the existing prefixes, colors, quiet/verbose/debug gating,
and stderr handling for errors. emit() also joins additional message
arguments into a single trailing string, matching the output pattern
used by the individual helpers.
The output helpers now differ only in their prefix, color, and
visibility condition, making future formatting changes easier and less
error-prone.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions
