diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-12-13 16:11:15 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2017-12-14 14:15:36 +0100 |
commit | 20372b5b0bc5544714d58bf6e4a59bf6fd2f962f (patch) | |
tree | ac3b550fb68512c50a32bb7d9dd18c45bf65aed3 /test/examples | |
parent | 62561ed428caca2fffaa96c8d0765a6a7bba4d00 (diff) | |
download | mitmproxy-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 'test/examples')
0 files changed, 0 insertions, 0 deletions