Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Usage of "cmd" and "cwd" #15

Open
ternary-Operator opened this issue Dec 12, 2016 · 0 comments
Open

Usage of "cmd" and "cwd" #15

ternary-Operator opened this issue Dec 12, 2016 · 0 comments

Comments

@ternary-Operator
Copy link

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"]
  }
};
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant