Command line tool for managing WordPress installations ✏️
All commands should be performed while in the root directory of your project.
Setup authorization for the remote MySQL database.
Run this command to refresh the contents of the auth.json file. The wp-config.php file is loaded and database-related constants are extracted into the auth.json file.
Create a backup of the remote MySQL database.
The default filename is ./backup.sql.
The mysqldump executable must exist.
Import the remote database into your local database.
The options table is not imported to avoid issues.
Existing rows may be overwritten, but never deleted.
MIT