alexdav / drush-batch

Scaffolding for creating a Drush batch script.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run the script

  • cd /path/to/script
  • composer install --no-plugins --no-scripts
  • drush --root=/var/www/html scr script.inc

How to add utilize the script

  • Load your array of entities inside the $entities array inside entities.inc
    • Follow the syntax as described in the file.
  • Update the do_work() function inside work.inc

About

Scaffolding for creating a Drush batch script.


Languages

Language:PHP 100.0%