mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-20 20:44:17 +02:00
Make fastapi.cli a runnable module (#2532)
Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
This commit is contained in:
parent
9cade6c8c8
commit
e1e0553ecb
2 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,3 @@
|
|||
"""FastMCP CLI package."""
|
||||
|
||||
from .cli import app
|
||||
|
||||
if __name__ == "__main__":
|
||||
app()
|
||||
|
|
|
|||
5
src/fastmcp/cli/__main__.py
Normal file
5
src/fastmcp/cli/__main__.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
"""FastMCP CLI as a runnable package"""
|
||||
|
||||
from .cli import app
|
||||
|
||||
app()
|
||||
Loading…
Add table
Add a link
Reference in a new issue