This project is not covered by Drupal’s security advisory policy.

A super basic way of defining tasks. Useful for when you have a bit of work to do that doesn't warrant it's own drush command.

Usage

Create a file called 'Drushfile', then define a task like so:


/**
 * @task
 * @desc "This is my task description"
 */
function blah_taskname() {
  echo "OMG TASKS\n";
}

Now list your tasks:

$ drush tasks-list
 blah_taskname   :  "This is my task description" 

Now run it:

$ drush tasks blah_taskname
OMG TASKS

Project information

  • chart icon466 downloads
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Downloads