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

Function WarningCmd

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

Source from the content-addressed store, hash-verified

81}
82
83func WarningCmd(text string) tea.Cmd {
84 return cmd(ShowMsg{Text: text, Type: TypeWarning})
85}
86
87func InfoCmd(text string) tea.Cmd {
88 return cmd(ShowMsg{Text: text, Type: TypeInfo})

Callers 8

handleSetSessionTitleMethod · 0.92
handleRegenerateTitleMethod · 0.92
handleUndoSnapshotMethod · 0.92
handleResetSnapshotMethod · 0.92
updateMethod · 0.92
handleSendMsgMethod · 0.92
handleRetryMethod · 0.92
handleRuntimeEventMethod · 0.92

Calls 1

cmdFunction · 0.85

Tested by

no test coverage detected