aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/utils/debug.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-12-13 16:11:15 +0100
committerMaximilian Hils <git@maximilianhils.com>2017-12-14 14:15:36 +0100
commit20372b5b0bc5544714d58bf6e4a59bf6fd2f962f (patch)
treeac3b550fb68512c50a32bb7d9dd18c45bf65aed3 /mitmproxy/utils/debug.py
parent62561ed428caca2fffaa96c8d0765a6a7bba4d00 (diff)
downloadmitmproxy-20372b5b0bc5544714d58bf6e4a59bf6fd2f962f.tar.gz
mitmproxy-20372b5b0bc5544714d58bf6e4a59bf6fd2f962f.tar.bz2
mitmproxy-20372b5b0bc5544714d58bf6e4a59bf6fd2f962f.zip
introduce @command.argument
This makes it possible to specify more specific type annotations at runtime, so that both mypy and our command system are happy. The .argument(name, type=) syntax is similar to click's, so it should be fairly extensible if we need it.
Diffstat (limited to 'mitmproxy/utils/debug.py')
0 files changed, 0 insertions, 0 deletions