add __main__ entry point to allow python -m reflex (#1516)

This commit is contained in:
Masen Furer 2023-08-03 14:26:50 -07:00 committed by GitHub
parent c452ec774d
commit 123b91a37d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
reflex/__main__.py Normal file
View File

@ -0,0 +1,6 @@
"""reflex package invocation entry point."""
from .reflex import cli
if __name__ == "__main__":
cli()