wp config set DOMAIN_CURRENT_SITE "newdomain.com"
wp search-replace "olddomain.com" "newdomain.com" --url=newdomain --precise
wp search-replace --network "http://olddomain.com" "https://newdomain.com" --precise --all-tables
wp user create username user@domain.com --role=administrator
wp super-admin add username
wp post delete $(wp post list --post_status=trash --post_type='product' --format=ids --posts_per_page=10000) --force