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

Function mitmweb

mitmproxy/tools/cmdline.py:139–152  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

137
138
139def mitmweb(opts):
140 parser = argparse.ArgumentParser(usage="%(prog)s [options]")
141
142 group = parser.add_argument_group("Mitmweb")
143 opts.make_parser(group, "web_open_browser")
144 opts.make_parser(group, "web_port", metavar="PORT")
145 opts.make_parser(group, "web_host", metavar="HOST")
146
147 common_options(parser, opts)
148 group = parser.add_argument_group(
149 "Filters", "See help in mitmproxy for filter expression syntax."
150 )
151 opts.make_parser(group, "intercept", metavar="FILTER")
152 return parser

Callers

nothing calls this directly

Calls 2

common_optionsFunction · 0.85
make_parserMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…