#Drush

Articles

Drush Scripts

You can write scripts for your site to retrieve information or execute a function. Drush will bootstrap Drupal before running...

Using Drush

Learning to use Drush can really speed up your development and management of Drupal sites. Help Running drush will give you a...

Resources

Tips

Add db-sync command to lando

Create a command that uses drush sql-sync to import a prod db to a local multisite installation.

*You must have the @remote.SITE and @local.SITE drush aliases set up.

tooling:
  db-sync:
    service: appserver
    cmd: site=${0} && drush sql-sync @remote.${site} @local.${site}

To use: lando db-sync SITE