Added support for executing from interpreter.

For run from python interpreter as module use command:
`python -m daphne [all daphne arguments]`
This commit is contained in:
Sergey Klyuykov 2019-08-15 09:58:34 +10:00
parent 333f4644d1
commit 8712943cf7

3
daphne/__main__.py Normal file
View File

@ -0,0 +1,3 @@
from daphne.cli import CommandLineInterface
CommandLineInterface.entrypoint()