exec-batch

Batch execution of shell commands

npm install exec-batch
2 downloads in the last week
10 downloads in the last month

exec-batch

Batch execution of shell commands

Installation

$ npm install exec-batch

Usage exaple

var ExecBatch = require('exec-batch');

// Clean github repo
batch = new ExecBatch(options);

batch.add('git reset');
batch.add('git checkout .');
batch.add('git clean -df');

batch.start(function (err) {
  if (err) throw err;
  console.log("Done!");
});
npm loves you