MCPcopy Create free account
hub / github.com/compozy/agh / updateConfirmStep

Method updateConfirmStep

internal/cli/install.go:473–485  ·  view source on GitHub ↗
(msg tea.KeyMsg)

Source from the content-addressed store, hash-verified

471}
472
473func (m *installWizardModel) updateConfirmStep(msg tea.KeyMsg) (tea.Model, tea.Cmd) {
474 switch msg.String() {
475 case "esc":
476 m.errText = ""
477 m.step = installWizardStepModel
478 m.modelInput.Focus()
479 return m, textinput.Blink
480 case installWizardEnterKey:
481 m.done = true
482 return m, tea.Quit
483 }
484 return m, nil
485}

Callers 1

UpdateMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected