We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a441f7a commit 79ab26dCopy full SHA for 79ab26d
features/db-export.feature
@@ -19,3 +19,17 @@ Feature: Export a WordPress database
19
wp_cli_test.sql
20
"""
21
And the wp_cli_test.sql file should exist
22
+
23
+ Scenario: Exclude tables when exporting the dtabase
24
+ Given a WP install
25
26
+ When I run `wp db export wp_cli_test.sql --exclude_tables=wp_users --porcelain`
27
+ Then the wp_cli_test.sql file should exist
28
+ And the wp_cli_test.sql file should not contain:
29
+ """
30
+ wp_users
31
32
+ And the wp_cli_test.sql file should contain:
33
34
+ wp_options
35
0 commit comments