Skip to content

Commit a5e9879

Browse files
authored
Merge pull request fastapi#10 from fastapilabs/08-01-_add_deploy_command
✨ Add deploy command
2 parents ceb097d + c4aab47 commit a5e9879

File tree

5 files changed

+815
-0
lines changed

5 files changed

+815
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ classifiers = [
3434
]
3535
dependencies = [
3636
"typer >= 0.12.3",
37+
"rignore >= 0.5.1",
38+
"httpx >= 0.27.0",
39+
"pydantic >= 2.8.2",
3740
"rich-toolkit >= 0.6.3",
3841
"pydantic >= 1.6.1",
3942
]

src/fastapi_cli/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from fastapi_cli.exceptions import FastAPICLIException
1313

1414
from . import __version__
15+
from .commands.deploy import deploy
1516
from .commands.login import login
1617
from .commands.whoami import whoami
1718
from .config import settings
@@ -281,6 +282,7 @@ def run(
281282

282283

283284
# Additional commands
285+
app.command()(deploy)
284286
app.command()(login)
285287
app.command()(whoami)
286288

0 commit comments

Comments
 (0)