MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / View

Method View

internal/tui/first_time_setup.go:374–387  ·  view source on GitHub ↗

View renders the TUI.

()

Source from the content-addressed store, hash-verified

372
373// View renders the TUI.
374func (f FirstTimeSetup) View() string {
375 switch f.step {
376 case StepGitignore:
377 return f.renderGitignoreStep()
378 case StepPRDName:
379 return f.renderPRDNameStep()
380 case StepPostCompletion:
381 return f.renderPostCompletionStep()
382 case StepGHError:
383 return f.renderGHErrorStep()
384 default:
385 return ""
386 }
387}
388
389func (f FirstTimeSetup) renderGitignoreStep() string {
390 modalWidth := min(65, f.width-10)

Callers

nothing calls this directly

Calls 4

renderGitignoreStepMethod · 0.95
renderPRDNameStepMethod · 0.95
renderGHErrorStepMethod · 0.95

Tested by

no test coverage detected