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

Method Execute

cli/plugins/builtin_graphview.go:195–197  ·  view source on GitHub ↗

Execute parses args and renders the graph.

(ctx context.Context, args []string)

Source from the content-addressed store, hash-verified

193
194// Execute parses args and renders the graph.
195func (p *BuiltinGraphViewPlugin) Execute(ctx context.Context, args []string) (string, error) {
196 return p.ExecuteWithStream(ctx, args, nil)
197}
198
199// ExecuteWithStream resolves the data source, writes the HTML and opens it.
200func (p *BuiltinGraphViewPlugin) ExecuteWithStream(_ context.Context, args []string, _ func(string)) (string, error) {

Callers

nothing calls this directly

Calls 1

ExecuteWithStreamMethod · 0.95

Tested by

no test coverage detected