The header block printed at the top of a framed command (`info`, `version`, …).
(name: string, description?: string)
| 1728 | |
| 1729 | /** The header block printed at the top of a framed command (`info`, `version`, …). */ |
| 1730 | #uiCommandHeader(name: string, description?: string): string { |
| 1731 | const lines = ["", this.#uiHeader(`webpack ${name}`), this.#uiDivider()]; |
| 1732 | |
| 1733 | if (description) { |
| 1734 | lines.push(description, ""); |
| 1735 | } |
| 1736 | |
| 1737 | return lines.join("\n"); |
| 1738 | } |
| 1739 | |
| 1740 | /** The documentation footer shared by every help and framed-command screen. */ |
| 1741 | #uiFooter(options: { verbose?: boolean } = {}): string { |
no test coverage detected