Execute runs without streaming — collects all output and returns.
(ctx context.Context, args []string)
| 33 | |
| 34 | // Execute runs without streaming — collects all output and returns. |
| 35 | func (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. |
| 40 | func (p *BuiltinCoderPlugin) ExecuteWithStream(ctx context.Context, args []string, onOutput func(string)) (string, error) { |
nothing calls this directly
no test coverage detected