Pārlūkot izejas kodu

HOS-400: adding support for config (#4540)

* HOS-400: adding support for config

* ruff

---------

Co-authored-by: simon <simon@reflex.dev>
Simon Young 4 mēneši atpakaļ
vecāks
revīzija
4b89b8260b
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6 0
      reflex/reflex.py

+ 6 - 0
reflex/reflex.py

@@ -485,6 +485,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
@@ -540,6 +545,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,
     )
     )