yireo/magento2-theme-commands

CLI commands to manipulate themes

Installs: 2 542

Dependents: 1

Suggesters: 0

Security: 0

Stars: 12

Watchers: 4

Forks: 3

Open Issues: 0

Type:magento2-module

1.2.1 2024-02-06 13:18 UTC

This package is auto-updated.

Last update: 2024-04-07 13:59:59 UTC


README

Magento 2 module to add CLI commands to manage themes from the command-line

Installation

composer require yireo/magento2-theme-commands
bin/magento module:enable Yireo_ThemeCommands

Usage

List all themes:

bin/magento theme:list

Change the current theme to Magento/luma for all scopes:

bin/magento theme:change Magento/luma

Change the current theme to Hyva/default for the StoreView with ID 1:

bin/magento theme:change Hyva/default 1 stores

Create a new theme:

bin/magento theme:create --theme Yireo/example --parent Magento/luma --application frontend
bin/magento theme:change Yireo/example