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

Method Execute

cli/plugins/builtin_context.go:259–261  ·  view source on GitHub ↗

Execute parses the invocation and dispatches to the adapter.

(ctx context.Context, args []string)

Source from the content-addressed store, hash-verified

257
258// Execute parses the invocation and dispatches to the adapter.
259func (p *BuiltinContextPlugin) Execute(ctx context.Context, args []string) (string, error) {
260 return p.ExecuteWithStream(ctx, args, nil)
261}
262
263// ExecuteWithStream runs the subcommand. The streaming callback is unused —
264// context operations are short — but the signature satisfies the contract.

Calls 1

ExecuteWithStreamMethod · 0.95