Skip to main content

Module macros

Module macros 

Source
Expand description

User-facing macros for runtime output.

All macros write to stderr via anstream, which automatically strips ANSI codes when output is piped or redirected.

§Quick reference

MacroOutput
header!Themed badge + version + tagline
phase!▶ init reading file.html
step!▸ downloading remote assets
substep!└─ https://… → ./fonts/…
ok!✓ dist/index.html
bail!Error + exit(1)
summary!Aligned summary block