Skip to content

Commit a6b2419

Browse files
committed
Allow filtering for teams and apps in deploy command
1 parent dbeacda commit a6b2419

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/fastapi_cloud_cli/commands/deploy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ def _configure_app(toolkit: RichToolkit, path_to_deploy: Path) -> AppConfig:
304304
"Select the team you want to deploy to:",
305305
tag="team",
306306
options=[Option({"name": team.name, "value": team}) for team in teams],
307+
allow_filtering=True,
307308
)
308309

309310
toolkit.print_line()
@@ -335,6 +336,7 @@ def _configure_app(toolkit: RichToolkit, path_to_deploy: Path) -> AppConfig:
335336
selected_app = toolkit.ask(
336337
"Select the app you want to deploy to:",
337338
options=[Option({"name": app.slug, "value": app}) for app in apps],
339+
allow_filtering=True,
338340
)
339341

340342
app_name = (

0 commit comments

Comments
 (0)