hajdbo closed pull request #6199: Fix more click incompatible changes around 
underscore/dashes
URL: https://github.com/apache/incubator-superset/pull/6199
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index baee1bc5aa..9b7faf5b4a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -219,7 +219,7 @@ superset db upgrade
 superset init
 
 # Load some data to play with
-superset load_examples
+superset load-examples
 
 # Start the Flask web server (but see below for frontend asset compilation)
 superset runserver -d
@@ -358,8 +358,8 @@ We use [Cypress](https://www.cypress.io/) for integration 
tests. Tests can be ru
 export SUPERSET_CONFIG=tests.superset_test_config
 superset db upgrade
 superset init
-superset load_test_users
-superset load_examples
+superset load-test-users
+superset load-examples
 superset runserver
 ```
 
diff --git a/docs/import_export_datasources.rst 
b/docs/import_export_datasources.rst
index 4de7a74dc3..44e99e8e7a 100644
--- a/docs/import_export_datasources.rst
+++ b/docs/import_export_datasources.rst
@@ -37,12 +37,12 @@ Exporting Datasources to YAML
 -----------------------------
 You can print your current datasources to stdout by running: ::
 
-    superset export_datasources
+    superset export-datasources
 
 
 To save your datasources to a file run: ::
 
-    superset export_datasources -f <filename>
+    superset export-datasources -f <filename>
 
 
 By default, default (null) values will be omitted. Use the ``-d`` flag to 
include them.
@@ -65,7 +65,7 @@ Exporting the complete supported YAML schema
 --------------------------------------------
 In order to obtain an exhaustive list of all fields you can import using the 
YAML import run: ::
 
-    superset export_datasource_schema
+    superset export-datasource-schema
 
 Again, you can use the ``-b`` flag to include back references.
 
@@ -74,19 +74,19 @@ Importing Datasources from YAML
 -------------------------------
 In order to import datasources from a YAML file(s), run: ::
 
-    superset import_datasources -p <path or filename>
+    superset import-datasources -p <path or filename>
 
 If you supply a path all files ending with ``*.yaml`` or ``*.yml`` will be 
parsed.
 You can apply additional flags e.g.: ::
 
-    superset import_datasources -p <path> -r
+    superset import-datasources -p <path> -r
 
 Will search the supplied path recursively.
 
 The sync flag ``-s`` takes parameters in order to sync the supplied elements 
with
 your file. Be careful this can delete the contents of your meta database. 
Example:
 
-   superset import_datasources -p <path / filename> -s columns,metrics
+   superset import-datasources -p <path / filename> -s columns,metrics
 
 This will sync all ``metrics`` and ``columns`` for all datasources found in the
 ``<path / filename>`` in the Superset meta database. This means columns and 
metrics
@@ -96,7 +96,7 @@ those would be synchronised as well.
 
 If you don't supply the sync flag (``-s``) importing will only add and update 
(override) fields.
 E.g. you can add a ``verbose_name`` to the the column ``ds`` in the table 
``random_time_series`` from the example datasets
-by saving the following YAML to file and then running the 
``import_datasources`` command. ::
+by saving the following YAML to file and then running the 
``import-datasources`` command. ::
 
     databases:
     - database_name: main
diff --git a/docs/installation.rst b/docs/installation.rst
index eda51f158f..b1e4631003 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -532,7 +532,7 @@ Druid
 
 * Navigate to your datasources
 
-Note that you can run the ``superset refresh_druid`` command to refresh the
+Note that you can run the ``superset refresh-druid`` command to refresh the
 metadata from your Druid cluster(s)
 
 
diff --git a/superset/assets/cypress_build.sh b/superset/assets/cypress_build.sh
index 26b0a088d6..fdc68b2a2f 100755
--- a/superset/assets/cypress_build.sh
+++ b/superset/assets/cypress_build.sh
@@ -2,8 +2,8 @@
 set -e
 
 superset/bin/superset db upgrade
-superset/bin/superset load_test_users
-superset/bin/superset load_examples
+superset/bin/superset load-test-users
+superset/bin/superset load-examples
 superset/bin/superset init
 superset/bin/superset runserver &
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to