Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tomfun/node-shell-commandor

javascript terminal multiplexer and command runner
https://github.com/tomfun/node-shell-commandor

Last synced: about 1 month ago
JSON representation

javascript terminal multiplexer and command runner

Awesome Lists containing this project

README

        

## node-shell-commandor

### javascript terminal multiplexer and command runner

### Example
```
const commander = require('node-shell-commandor');

commands = [{
command: 'echo 1 && sleep 1'
}, {
command: 'ls -lA && sleep 1 && ls -l && sleep 1 && ls -l --color=always /var/log/'
}];

commander.run(commands);
```
![example run](examples/why.jpg)

How to exit? *Ctrl+c* or *q*

How to see output of selected command? Use arrows (up/down then enter)

![example run](examples/select.jpg)
![example run](examples/view.jpg)