File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,18 @@ classifiers = [
32
32
" License :: OSI Approved :: MIT License" ,
33
33
]
34
34
dependencies = [
35
- " typer >= 0.12.3 " ,
35
+ " typer >= 0.15.1 " ,
36
36
" uvicorn[standard] >= 0.15.0" ,
37
- " rich-toolkit >= 0.11.1 "
37
+ " rich-toolkit >= 0.14.8 " ,
38
38
]
39
39
40
40
[project .optional-dependencies ]
41
41
standard = [
42
42
" uvicorn[standard] >= 0.15.0" ,
43
+ " fastapi-cloud-cli >= 0.1.1" ,
44
+ ]
45
+ standard-no-fastapi-cloud-cli = [
46
+ " uvicorn[standard] >= 0.15.0" ,
43
47
]
44
48
45
49
[project .urls ]
Original file line number Diff line number Diff line change 1
- -e .
1
+ -e .[standard]
2
2
3
3
pytest >=4.4.0,<9.0.0
4
4
coverage[toml] >=6.2,<8.0
Original file line number Diff line number Diff line change 25
25
uvicorn = None # type: ignore[assignment]
26
26
27
27
28
+ try :
29
+ from fastapi_cloud_cli .cli import (
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
+
28
38
def version_callback (value : bool ) -> None :
29
39
if value :
30
40
print (f"FastAPI CLI version: [green]{ __version__ } [/green]" )
You can’t perform that action at this time.
0 commit comments