We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b22ba0 commit 1ed9676Copy full SHA for 1ed9676
1 file changed
src/fastapi_cli/cli.py
@@ -25,6 +25,16 @@
25
uvicorn = None # type: ignore[assignment]
26
27
28
+try:
29
+ from fastapi_cloud_cli.cli import ( # type: ignore[import-not-found]
30
+ app as fastapi_cloud_cli,
31
+ )
32
+
33
+ app.add_typer(fastapi_cloud_cli)
34
+except ImportError: # pragma: no cover
35
+ pass
36
37
38
def version_callback(value: bool) -> None:
39
if value:
40
print(f"FastAPI CLI version: [green]{__version__}[/green]")
0 commit comments