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

Method DescribeCall

cli/plugins/builtin_http_caps.go:27–33  ·  view source on GitHub ↗

DescribeCall surfaces the request line in the spinner.

(args []string)

Source from the content-addressed store, hash-verified

25
26// DescribeCall surfaces the request line in the spinner.
27func (p *BuiltinHTTPPlugin) DescribeCall(args []string) string {
28 in, err := parseHTTPInvocation(args)
29 if err != nil {
30 return i18n.T("plugins.http.describe_generic")
31 }
32 return i18n.T("plugins.http.describe_request", in.Method, describeTrim(in.URL))
33}

Callers

nothing calls this directly

Calls 3

TFunction · 0.92
parseHTTPInvocationFunction · 0.85
describeTrimFunction · 0.85

Tested by

no test coverage detected