add app id as well

This commit is contained in:
Elijah 2024-12-18 15:20:34 +00:00
parent b7b41c153b
commit 5cbdebb4eb

View File

@ -442,6 +442,11 @@ def deploy(
help="The name of the App to deploy under.", help="The name of the App to deploy under.",
hidden=True, hidden=True,
), ),
app_id: str = typer.Option(
None,
"--app-id",
help="The ID of the App to deploy under.",
),
regions: List[str] = typer.Option( regions: List[str] = typer.Option(
[], [],
"-r", "-r",
@ -529,6 +534,7 @@ def deploy(
) )
hosting_cli.deploy( hosting_cli.deploy(
app_name=app_name, app_name=app_name,
app_id=app_id,
export_fn=lambda zip_dest_dir, export_fn=lambda zip_dest_dir,
api_url, api_url,
deploy_url, deploy_url,