Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sungwoncho/shell-ejs

Write and execute shell scripts with ejs
https://github.com/sungwoncho/shell-ejs

Last synced: 27 days ago
JSON representation

Write and execute shell scripts with ejs

Awesome Lists containing this project

README

        

# shell-ejs

[![Build Status](https://travis-ci.org/sungwoncho/shell-ejs.svg?branch=master)](https://travis-ci.org/sungwoncho/shell-ejs)

Write and execute shell scripts with ejs.

## Install

npm install shell-ejs

## Usage

```js
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