aio-libs / aiohttp-devtools

dev tools for aiohttp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose command line interface in __init__.py

asvetlov opened this issue · comments

python3 -m aiohttp_devtools <args> should work in the same way as adev <args>.

See also https://stackoverflow.com/questions/44820398/how-to-run-adevaiohttp-devtools-command-using-pycharm

Makes sense, should be trivial.

Ok, I've added __main__.py but pycharm's support for stuff like this is very poor and that doesn't actually allow you to use aiohttp_devtools with pycharm debug. I'll describe how to do that on SO.