MCPcopy
hub / github.com/charmbracelet/bubbletea / ExecCommand

Interface ExecCommand

exec.go:60–65  ·  view source on GitHub ↗

ExecCommand can be implemented to execute things in a blocking fashion in the current terminal.

Source from the content-addressed store, hash-verified

58// ExecCommand can be implemented to execute things in a blocking fashion in
59// the current terminal.
60type ExecCommand interface {
61 Run() error
62 SetStdin(io.Reader)
63 SetStdout(io.Writer)
64 SetStderr(io.Writer)
65}
66
67// wrapExecCommand wraps an exec.Cmd so that it satisfies the ExecCommand
68// interface so it can be used with Exec.

Callers 11

TestOptionsFunction · 0.65
TestTeaExecFunction · 0.65
testMultipleCommandsFunction · 0.65
execMethod · 0.65
TestTeaWithFilterFunction · 0.65
TestViewModelFunction · 0.65
TestClearMsgFunction · 0.65
mainFunction · 0.65
execMethod · 0.65
execMethod · 0.65
execMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…