- drush fra - feature # Revert all
- drush fu $module # update the code
- drush dis $module # disable module
- drush en $module # enable module
- drush cc menu # clear cache for menu
- drush cc all # clear all cache
- drush sm # show modules The official full name of the command is pm-list which is confusing so just ignore it
- drush scr test.php # running a Drupal script
- drush php-script test.php # run a Drupal Script
- drush php-eval 'global $user; print_r($user)' # executing code
No comments:
Post a Comment