Skip to content

Commit 32d5abb

Browse files
committed
add destination path to usage
1 parent 0caf778 commit 32d5abb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/superset/dashboard/export.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Will export the zip file to /tmp/superset_dashboards with zip filename adjusted to include the dashboard_id
22
# Example zipfile: dashboard_#{dashboard_id}_export_#{datestamp}.zip
3+
#
34
# Usage
4-
# Superset::Dashboard::Export.new(dashboard_id: 15).perform
5+
# Superset::Dashboard::Export.new(dashboard_id: 15, destination_path: '/tmp/superset_dashboard_backups/').perform
56
#
67

78
require 'superset/file_utilities'

0 commit comments

Comments
 (0)