sungwoncho / shell-ejs

Write and execute shell scripts with ejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Write and execute shell scripts with ejs

License:MIT License


Languages

Language:JavaScript 100.0%