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 81cb071 commit e48f934Copy full SHA for e48f934
src/SQLite_Command.php
@@ -20,6 +20,8 @@ class SQLite_Command extends WP_CLI_Command {
20
* # Import the database from a file
21
* $ wp sqlite import wordpress_dbase.sql
22
* Success: Imported from 'import wordpress_dbase.sql'.
23
+ *
24
+ * @when before_wp_load
25
*/
26
public function import( $args, $assoc_args ) {
27
@@ -73,6 +75,8 @@ public function import( $args, $assoc_args ) {
73
75
* # Export all tables except specific tables
74
76
* $ wp sqlite export --exclude_tables=wp_posts,wp_users
77
* Success: Exported to 'wordpress_dbase.sql'.
78
79
80
81
public function export( $args, $assoc_args ) {
82
WP_CLI::success( 'Exporting database...' );
0 commit comments