MCPcopy Create free account
hub / github.com/charmbracelet/bubbletea / Init

Method Init

exec_test.go:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (m *testExecNoInputModel) Init() Cmd {
29 return ExecProcess(successExecCommand(), func(err error) Msg {
30 return execFinishedMsg{err}
31 })
32}
33
34func (m *testExecModel) Update(msg Msg) (Model, Cmd) {
35 switch msg := msg.(type) {

Callers

nothing calls this directly

Calls 2

ExecProcessFunction · 0.85
successExecCommandFunction · 0.85

Tested by

no test coverage detected