A single status message prefixed with an icon (`✔`/`✖`/`⚠`/`ℹ`).
(kind: StatusKind, message: string)
| 1721 | |
| 1722 | /** A single status message prefixed with an icon (`✔`/`✖`/`⚠`/`ℹ`). */ |
| 1723 | #uiStatusLine(kind: StatusKind, message: string): string { |
| 1724 | const { green, red, yellow, cyan } = this.colors; |
| 1725 | const color = { success: green, error: red, warning: yellow, info: cyan }[kind]; |
| 1726 | return `${color(UI_STATUS_ICONS[kind])} ${message}`; |
| 1727 | } |
| 1728 | |
| 1729 | /** The header block printed at the top of a framed command (`info`, `version`, …). */ |
| 1730 | #uiCommandHeader(name: string, description?: string): string { |