martes, 22 de noviembre de 2016

Drush

Drush: The Drupal Shell

Drush is a command line shell and Unix scripting interface for Drupal. Drush core ships with lots of useful commands for interacting with code like modules/themes/profiles. Similarly, it runs update.php, executes sql queries and DB migrations, and misc utilities like run cron or clear cache. Drush can be extended by 3rd party commandfiles.

See main information and status of the site
drush status

Open a SQL command-line interface using Drupal's credentials.
drush sql-cli

Clear the cache
drush cc all

This will return a list of all the projects on your site.
drush pml --no-core

References

No hay comentarios:

Publicar un comentario