how to use drupal drush?

1.) Enable theme 

drush pm-enable themename


2.) Disable theme
drush pm-disable themename

3.) Show information about the theme
drush pm-info themename

4.) List all theme
drush pm-list --type=theme

5.) List enabled theme
drush pm-list --type=theme --status=enabled

6.) Set default theme
drush vset theme_default themename

7.) Set admin theme
drush vset admin_theme themename

8.) show theme status
drush status theme

9.) drush en -y views

10.) drush dis views

你可能感兴趣的:(drupal)