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

Function extractURLArg

cli/plugins/args_extract.go:159–161  ·  view source on GitHub ↗

extractURLArg is the analog for @webfetch.

(args []string)

Source from the content-addressed store, hash-verified

157
158// extractURLArg is the analog for @webfetch.
159func extractURLArg(args []string) string {
160 return extractStringArg(args, "url", "uri", "address")
161}
162
163// extractPathArg is the analog for file-oriented plugins (@coder read /
164// future Read tool). It accepts both "file" and "path" because both

Callers 2

DescribeCallMethod · 0.85

Calls 1

extractStringArgFunction · 0.85

Tested by 1