HOS-400: adding support for config

This commit is contained in:
simon 2024-12-13 17:53:32 -08:00
parent d7956c19d3
commit bbe3a8db8e

View File

@ -484,6 +484,11 @@ def deploy(
"--token", "--token",
help="token to use for auth", help="token to use for auth",
), ),
config_path: Optional[str] = typer.Option(
None,
"--config",
help="path to the config file",
),
): ):
"""Deploy the app to the Reflex hosting service.""" """Deploy the app to the Reflex hosting service."""
from reflex_cli.utils import dependency from reflex_cli.utils import dependency
@ -539,6 +544,7 @@ 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
) )