MCPcopy
hub / github.com/basecamp/once / runTask

Method runTask

internal/command/cli_progress.go:114–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114func (m *cliProgress) runTask() tea.Cmd {
115 return func() tea.Msg {
116 callback := func(p docker.DeployProgress) {
117 m.progressChan <- p
118 }
119 err := m.task(callback)
120 return cliProgressDoneMsg{err: err}
121 }
122}
123
124func (m *cliProgress) waitForProgress() tea.Cmd {
125 return func() tea.Msg {

Callers 1

InitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected