Make fastapi.cli a runnable module (#2532)

Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
This commit is contained in:
Paulo Costa 2025-12-03 21:23:22 -03:00 committed by GitHub
commit e1e0553ecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,3 @@
"""FastMCP CLI package."""
from .cli import app
if __name__ == "__main__":
app()

View file

@ -0,0 +1,5 @@
"""FastMCP CLI as a runnable package"""
from .cli import app
app()