exec-batch

0.1.0 • Public • Published

exec-batch

Batch execution of shell commands

Installation

$ npm install exec-batch

Usage 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!");
});

/exec-batch/

    Package Sidebar

    Install

    npm i exec-batch

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • medikoo