0.1.0 • Published 9 years ago
shell-ejs v0.1.0
shell-ejs
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
0.1.0
9 years ago