exec-batch
v0.1.0
Published
Batch execution of shell commands
Maintainers
Readme
exec-batch
Batch execution of shell commands
Installation
$ npm install exec-batchUsage example
var ExecBatch = require('exec-batch');
batch = new ExecBatch(options);
// By example clean current git repository from any changes:
batch.add('git reset');
batch.add('git checkout .');
batch.add('git clean -df');
batch.start(function (err) {
if (err) throw err;
console.log("Done!");
});