The documentation footer shared by every help and framed-command screen.
(options: { verbose?: boolean } = {})
| 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`) |
no outgoing calls
no test coverage detected