grunt-drush icon indicating copy to clipboard operation
grunt-drush copied to clipboard

Usage of "cmd" and "cwd"

Open ternary-Operator opened this issue 8 years ago • 0 comments

Please correct the documentation for the settings "cmd" and "cwd" as they are options, or correct the code. :) The above settings are not recognized outside of the "options" key.

Would you mind adding the following example for "drush cr"? (Drupal 8.x)

module.exports = {
  "cache-clear": {
    options: {
      cmd: "../vendor/bin/drush",  // Path to the Drush binary in your project
      cwd: "../web/"               // Path to your projects Document-Root
    },
    args: ["cr"]
  }
};

ternary-Operator avatar Dec 12 '16 13:12 ternary-Operator