1.1.2 • Published 8 years ago

just-run v1.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

just-run

NPM

Just a javascript function that runs shell commands asynchronously!

Instalation

$ npm install --save-dev just-run

Usage

Call the function with the following parameters:

  1. A description which is printed in stdout
  2. The actual command
  3. Callback
var run = require("just-run");

run("LINT | lib", "jslint lib/*.js");
run("CP | assets", "cp -r web/assets/ public/", function onFinish() {
    console.log("Copy finished");
});

NOTE: It's expected to be only used in the development toolbox, not in the actual code.

License

MIT