Shopware 6 – Console – Befehle
[expand title=“mehr lesen…“]
Console
/Applications/MAMP/bin/php/php7.3.1/bin/php bin/console
shopware plugin service
/Applications/MAMP/bin/php/php7.3.1/bin/php bin/console plugin:list
shopware plugin deinstallieren
/Applications/MAMP/bin/php/php7.3.1/bin/php bin/console plugin:uninstall ...
shopware cache leeren
/Applications/MAMP/bin/php/php7.3.1/bin/php bin/console cache:clear
theme skelett erstellen
/Applications/MAMP/bin/php/php7.3.1/bin/php bin/console theme:create name (zB. EightTheme)
/Applications/MAMP/bin/php/php7.3.1/bin/php bin/console theme:create --help
Core commands
sw:thumbnail:cleanup Deletes thumbnails that lack their original (full size) image file.
sw:thumbnail:generate Generates a new thumbnail.
sw:generate:attributes Generates attribute models.
sw:warm:http:cache Warms up http cache
sw:media:cleanup Collects unused media and moves it to the trashbin.
sw:snippets:find:missing Finds missing snippets in the database and dumps them into .ini files
sw:snippets:remove Removes snippets from the database. Applicable for a specified folder
sw:snippets:to:db Loads snippets from the "/snippets" folder in your installation's main directory to the database. To find the folder, click here
sw:snippets:to:ini Dump snippets from the database into .ini files
sw:snippets:to:sql Load snippets from .ini files into sql files
Plugin commands
sw:plugin:activate Activates a plugin.
sw:plugin:config:list Lists plugin configurations.
sw:plugin:config:set Sets plugin configurations.
sw:plugin:deactivate Deactivates a plugin.
sw:plugin:delete Deletes a plugin.
sw:plugin:install Installs a plugin.
sw:plugin:list Lists plugins.
sw:plugin:refresh Refreshes plugin list.
sw:plugin:uninstall Uninstalls a plugin.
sw:plugin:update Updates a plugin.
[/expand]