JSPM

  • Created
  • Published
  • Downloads 7601
  • Score
    100M100P100Q128942F
  • License MIT

Execute CLI command on sub process.

Package Exports

  • execcli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (execcli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

node-execcli

Build Status Code Climate Code Coverage npm version

Execute cli command as sub process.

Usage

var execcli = require('execcli');

// Equivalant to execute `ls -l .` from command line. 
execcli('ls', '.', {'l':true}, function(err){
    if(err){
        console.error(err);
    }
});

Installation

$ npm install execli --save

License

This software is released under the MIT License.