betodealmeida commented on a change in pull request #13921:
URL: https://github.com/apache/superset/pull/13921#discussion_r617779258



##########
File path: superset/cli.py
##########
@@ -250,13 +250,11 @@ def refresh_druid(datasource: str, merge: bool) -> None:
     @superset.command()
     @with_appcontext
     @click.option(
-        "--dashboard-file",
-        "-f",
-        default="dashboard_export_YYYYMMDDTHHMMSS",
-        help="Specify the the file to export to",
+        "--dashboard-file", "-f", help="Specify the the file to export to",
     )
-    def export_dashboards(dashboard_file: Optional[str]) -> None:
+    def export_dashboards(dashboard_file: Optional[str] = None) -> None:
         """Export dashboards to ZIP file"""
+        print("\nRIGHT WAS CALLED", dashboard_file)

Review comment:
       Oops

##########
File path: superset/cli.py
##########
@@ -266,6 +264,7 @@ def export_dashboards(dashboard_file: Optional[str]) -> 
None:
         timestamp = datetime.now().strftime("%Y%m%dT%H%M%S")
         root = f"dashboard_export_{timestamp}"
         dashboard_file = dashboard_file or f"{root}.zip"
+        print("\n\nBETO >>", dashboard_file)

Review comment:
       Oops




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to