MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / call_strings

Method call_strings

mitmproxy/command.py:273–280  ·  view source on GitHub ↗

Call a command using a list of string arguments. May raise CommandError.

(self, command_name: str, args: Sequence[str])

Source from the content-addressed store, hash-verified

271 return self.commands[command_name].func(*args)
272
273 def call_strings(self, command_name: str, args: Sequence[str]) -> Any:
274 """
275 Call a command using a list of string arguments. May raise CommandError.
276 """
277 if command_name not in self.commands:
278 raise exceptions.CommandError("Unknown command: %s" % command_name)
279
280 return self.commands[command_name].call(args)
281
282 def execute(self, cmdstr: str) -> Any:
283 """

Callers 9

executeMethod · 0.95
parseMethod · 0.80
parseMethod · 0.80
options_reset_currentMethod · 0.80
callbackMethod · 0.80
edit_focusMethod · 0.80
flowview_mode_setMethod · 0.80
flowview_modeMethod · 0.80
postMethod · 0.80

Calls 1

callMethod · 0.45

Tested by

no test coverage detected