PHP code example of tnegeli / m2clitools

1. Go to this page and download the library: Download tnegeli/m2clitools library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tnegeli / m2clitools example snippets


php bin/magento tnegeli:cleanup-unused-product-media

php bin/magento tnegeli:cleanup-unused-category-media

php bin/magento tnegeli:cleanup-unused-swatches-media

php bin/magento tnegeli:cleanup-illegal-product-media

php bin/magento tnegeli:cleanup-illegal-product-media-non-existing-files

php bin/magento tnegeli:cleanup-illegal-product-image-markers-non-existing-files