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

Method #uiFooter

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

The documentation footer shared by every help and framed-command screen.

(options: { verbose?: boolean } = {})

Source from the content-addressed store, hash-verified

1739
1740 /** The documentation footer shared by every help and framed-command screen. */
1741 #uiFooter(options: { verbose?: boolean } = {}): string {
1742 const { bold, cyan, red } = this.colors;
1743 const lines: string[] = [];
1744
1745 if (!options.verbose) {
1746 lines.push(
1747 `${cyan("ℹ")} Run ${bold("'webpack --help=verbose'")} to see all available commands and options.`,
1748 );
1749 }
1750
1751 lines.push(
1752 "",
1753 `${bold("Webpack documentation:")} ${cyan("https://webpack.js.org/")}`,
1754 `${bold("CLI documentation:")} ${cyan("https://webpack.js.org/api/cli/")}`,
1755 `${bold("Made with")} ${red("♥")} ${bold("by the webpack team")}`,
1756 );
1757
1758 return lines.join("\n");
1759 }
1760
1761 /**
1762 * Renders the plain-text output of `envinfo` (used by `info` and `version`)

Callers 2

#outputHelpMethod · 0.95
#frameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected