Skip to main content

Module output

Module output 

Source

Structs§

SectionSeparator
Tracks whether any upgrade section has printed content yet, so a run covering several optional sections (shell presets, app configs, managed system configs) can emit exactly one blank-line separator between two sections that both printed something — never a leading separator before the first section, and never a stray blank line when a section had nothing to report.

Functions§

detail_line
footer
hint_line
print_columns
Prints names in Homebrew-style columns when stdout is an interactive terminal, falling back to one item per line for redirected output.
push_count
Appends "{count} {label}" (styled with color) to parts when count is nonzero. Collapses the repeated if count > 0 { parts.push(color(...)) } idiom used when building summary footers from several counters.
summary_line