1.0.1 • Published 5 years ago
javascript-simple-terminal v1.0.1
Usage: simp-js-terminal is not an npm package:
terminal('git clone https://github.com/MichaelDimmitt/simp-js_term.git')
Objectives
Execute a file in node(without a server)
Give me a simple default shell so that I can execute stuff.
Progammer self.Instructions()
Running the terminal: (usage)
1) node run_terminal.js 'ls;' ls pwd
// result: executes the command ls; ls; pwd;
2) node run_terminal.js ls pwd ls
// result: executes the command ls; pwd; ls;
3) node run_terminal.js 'ls; echo "hi"; pwd' // result: executes the command `ls; echo "hi"; pwd"