shell-ejs

0.1.0 • Public • Published

shell-ejs

Build Status

Write and execute shell scripts with ejs.

Install

npm install shell-ejs

Usage

var shellEjs = require('shell-ejs');
 
var variables = {
  host: 'http://my.domain.com',
  port: 3000
};
shellEjs.executeFile('./deploy.sh', variables, function (err, stdout, stderr) {
  // Do something
})

License

MIT

/shell-ejs/

    Package Sidebar

    Install

    npm i shell-ejs

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • sungwoncho