Execute parses args and renders the graph.
(ctx context.Context, args []string)
| 193 | |
| 194 | // Execute parses args and renders the graph. |
| 195 | func (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. |
| 200 | func (p *BuiltinGraphViewPlugin) ExecuteWithStream(_ context.Context, args []string, _ func(string)) (string, error) { |
nothing calls this directly
no test coverage detected