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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0
  • 0.0.0
    1

Package Sidebar

Install

npm i exec-batch

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • medikoo