瀏覽代碼

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

* HOS-400: adding support for config

* ruff

---------

Co-authored-by: simon <simon@reflex.dev>
Simon Young 4 月之前
父節點
當前提交
4b89b8260b
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      reflex/reflex.py

+ 6 - 0
reflex/reflex.py

@@ -485,6 +485,11 @@ def deploy(
         "--token",
         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."""
     from reflex_cli.utils import dependency
@@ -540,6 +545,7 @@ def deploy(
         loglevel=type(loglevel).INFO,  # type: ignore
         token=token,
         project=project,
+        config_path=config_path,
     )