MCPcopy
hub / github.com/docker/docker-agent / CmdHandler

Function CmdHandler

pkg/tui/core/core.go:39–43  ·  view source on GitHub ↗

CmdHandler creates a command that returns the given message

(msg tea.Msg)

Source from the content-addressed store, hash-verified

37
38// CmdHandler creates a command that returns the given message
39func CmdHandler(msg tea.Msg) tea.Cmd {
40 return func() tea.Msg {
41 return msg
42 }
43}
44
45// Resolve retrieves a dependency of type T from the given tea.Model.
46//

Callers 15

handleBranchFromEditMethod · 0.92
handleShowCostDialogMethod · 0.92
handleShowToolsDialogMethod · 0.92
handleMCPPromptMethod · 0.92
handleOpenModelPickerMethod · 0.92
openEffortPickerMethod · 0.92

Calls

no outgoing calls