extractURLArg is the analog for @webfetch.
(args []string)
| 157 | |
| 158 | // extractURLArg is the analog for @webfetch. |
| 159 | func 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 |