buildHelpContent builds the full help content including logo and sections
()
| 160 | |
| 161 | // buildHelpContent builds the full help content including logo and sections |
| 162 | func (v *HelpView) buildHelpContent() string { |
| 163 | var b strings.Builder |
| 164 | |
| 165 | // ASCII Art Logo - centered |
| 166 | logo := v.renderLogo() |
| 167 | b.WriteString(logo) |
| 168 | b.WriteString("\n\n") |
| 169 | |
| 170 | // Help content - organized by category |
| 171 | helpContent := v.renderHelpContent() |
| 172 | b.WriteString(helpContent) |
| 173 | |
| 174 | return b.String() |
| 175 | } |
| 176 | |
| 177 | // renderLogo renders the ASCII art Hatchet logo, centered |
| 178 | func (v *HelpView) renderLogo() string { |
no test coverage detected