MCPcopy Create free account
hub / github.com/webpack/webpack-cli / #uiSectionTitle

Method #uiSectionTitle

packages/webpack-cli/src/webpack-cli.ts:1717–1720  ·  view source on GitHub ↗

A section heading with an underline, e.g. `Options` followed by a divider.

(title: string)

Source from the content-addressed store, hash-verified

1715
1716 /** A section heading with an underline, e.g. `Options` followed by a divider. */
1717 #uiSectionTitle(title: string): string {
1718 const { bold, cyan } = this.colors;
1719 return `${bold(cyan(title))}\n${this.#uiDivider()}`;
1720 }
1721
1722 /** A single status message prefixed with an icon (`✔`/`✖`/`⚠`/`ℹ`). */
1723 #uiStatusLine(kind: StatusKind, message: string): string {

Callers 1

sectionTitleMethod · 0.95

Calls 1

#uiDividerMethod · 0.95

Tested by

no test coverage detected