MCPcopy
hub / github.com/hatchet-dev/hatchet / buildHelpContent

Method buildHelpContent

cmd/hatchet-cli/cli/tui/help.go:162–175  ·  view source on GitHub ↗

buildHelpContent builds the full help content including logo and sections

()

Source from the content-addressed store, hash-verified

160
161// buildHelpContent builds the full help content including logo and sections
162func (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
178func (v *HelpView) renderLogo() string {

Callers 2

UpdateMethod · 0.95
SetSizeMethod · 0.95

Calls 3

renderLogoMethod · 0.95
renderHelpContentMethod · 0.95
StringMethod · 0.45

Tested by

no test coverage detected