This is a simple node.js wrapper for running drush commands.
var drush = ;drush;
The module is built on top of promised-io and exec returns a promise object. Chaining commands can therefore be conveniently done as follows:
var group = alldrushdrushdrushdrush;group;
You must call
Drush.init() before executing other commands, but as long
Drush object remains in scope you only need to call it once.
You may pass additional options to the underlaying exec commands by calling init with a hash of appropriate options:
Note: You may need to increase the buffer size for commands that return a lot of output.