reflex deploy --project-name

This commit is contained in:
Elijah 2024-12-17 16:38:42 +00:00
parent e8dd0ae47d
commit b7b41c153b

View File

@ -480,6 +480,11 @@ def deploy(
"--project", "--project",
help="project id to deploy to", help="project id to deploy to",
), ),
project_name: Optional[str] = typer.Option(
None,
"--project-name",
help="The name of the project to deploy under.",
),
token: Optional[str] = typer.Option( token: Optional[str] = typer.Option(
None, None,
"--token", "--token",
@ -547,6 +552,8 @@ def deploy(
loglevel=type(loglevel).INFO, # type: ignore loglevel=type(loglevel).INFO, # type: ignore
token=token, token=token,
project=project, project=project,
config_path=config_path,
project_name=project_name,
**extra, **extra,
) )