Drush and themes
drush 9
ddev exec drush theme:enable bartik
https://drushcommands.com/drush-9x/
Archive
to activate foo theme: drush vset theme_default foo
drush 5
clear theme's cache
drush cc display a list (0=cancel, 1 all ... 11 views) :
drush cc css-js
drush cc theme-registry
check themes status : drush pml | fgrep -e Theme
Infos: drush pmi
For ex:
Extension : sky ; Project : sky ; Type : theme ; Title : Sky ; Description : A minimal, re-colorable... base theme.
Version : 7.x-3.0
Date : 2014-03-23 ; Package : Other ; Core : 7.x
PHP : 5.2.4 (note: admin/reports/status indique pour le site "5.5.9-1ubuntu4")
Status : disabled
Path : sites/all/themes/sky
Configure : Aucun(e)
Engine : phptemplate
Base theme : AT Core
Regions : Menu Bar, Help, Highlighted, Main content, Content bottom, Secondary content ... Dashboard (inactive)
Features : logo, name, slogan, node_user_picture, comment_user_picture, comment_user_verification, favicon
Stylesheets :
Scripts : js/scripts.js
drush pmi sky*
to see themes arbo. drush mpi sky* | fgrep -e theme
archives (drush 4)
Drush 3 | Drush 4 |
theme-enable theme-disable theme-info theme-list theme-list-enabled theme-set-default theme-set-admin theme-status |
pm-enable pm-disable pm-info pm-list –type=theme pm-list –type=theme –status=enabled vset theme_default vset admin_theme status theme |
sudo drush omega-wizard
drush omega-subtheme "Nom de mon theme" --starterkit=starterkit_omega_html5 KO
http://drush.ws