Browse Source

pc export flag rename (#1258)

Elijah Ahianyo 1 năm trước cách đây
mục cha
commit
1d4fda273b
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      reflex/reflex.py

+ 3 - 3
reflex/reflex.py

@@ -211,16 +211,16 @@ def export(
     backend: bool = typer.Option(
         True, "--frontend-only", help="Export only frontend.", show_default=False
     ),
-    for_rx_deploy: bool = typer.Option(
+    for_reflex_deploy: bool = typer.Option(
         False,
-        "--for-rx-deploy",
+        "--for-reflex-deploy",
         help="Whether export the app for Reflex Deploy Service.",
     ),
 ):
     """Export the app to a zip file."""
     config = get_config()
 
-    if for_rx_deploy:
+    if for_reflex_deploy:
         # Get the app config and modify the api_url base on username and app_name.
         config.api_url = prerequisites.get_production_backend_url()