MCPcopy Create free account
hub / github.com/diillson/chatcli / Execute

Method Execute

cli/plugins/builtin_coder.go:35–37  ·  view source on GitHub ↗

Execute runs without streaming — collects all output and returns.

(ctx context.Context, args []string)

Source from the content-addressed store, hash-verified

33
34// Execute runs without streaming — collects all output and returns.
35func (p *BuiltinCoderPlugin) Execute(ctx context.Context, args []string) (string, error) {
36 return p.ExecuteWithStream(ctx, args, nil)
37}
38
39// ExecuteWithStream runs the engine and streams output line-by-line via onOutput.
40func (p *BuiltinCoderPlugin) ExecuteWithStream(ctx context.Context, args []string, onOutput func(string)) (string, error) {

Callers

nothing calls this directly

Calls 1

ExecuteWithStreamMethod · 0.95

Tested by

no test coverage detected