node-shell-commandor

0.0.2 • Public • Published

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

How to exit? Ctrl+c or q

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

example run example run

/node-shell-commandor/

    Package Sidebar

    Install

    npm i node-shell-commandor

    Weekly Downloads

    2

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • tomfun