How to check WordPress site integrity using wpcli

Check the integrity of the WordPress core:

wp core verify-checksums

Check the integrity of all plugins:

wp plugin verify-checksums --all

docker-compose variant

docker-compose exec wpcli wp core verify-checksums
docker-compose exec wpcli wp plugin verify-checksums --all