I'd like to have a way to clear the product image cache from the CLI. The "cache:clear" command should delete the product image cache, too.
Could you do the same thing by:
rm -rf pub/media/catalog/product/cache/
Have you tried using the image resize command to pre-generate all necessary resizes?
php bin/magento catalog:image:resize
This command gets all the images sizes that have been defined in the theme XML and pregenerates the images in their correct folders.
You can also check the command documentation for more information https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/theme-images.html#resize-catalog-i...
I agree.. A CLI for clearing the image cache would be great