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

Function SuccessCmd

pkg/tui/components/notification/notification.go:79–81  ·  view source on GitHub ↗
(text string)

Source from the content-addressed store, hash-verified

77}
78
79func SuccessCmd(text string) tea.Cmd {
80 return cmd(ShowMsg{Text: text, Type: TypeSuccess})
81}
82
83func WarningCmd(text string) tea.Cmd {
84 return cmd(ShowMsg{Text: text, Type: TypeWarning})

Callers 15

handleSetSessionTitleMethod · 0.92
handleRegenerateTitleMethod · 0.92
handleDeleteSessionMethod · 0.92
handleEvalSessionMethod · 0.92
handleExportSessionMethod · 0.92
handleUndoSnapshotMethod · 0.92
handleResetSnapshotMethod · 0.92
copyToClipboardFunction · 0.92
handleTogglePauseMethod · 0.92
handleChangeModelMethod · 0.92

Calls 1

cmdFunction · 0.85

Tested by

no test coverage detected