Skip to content

md-vanilla/simp-js_term

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage: simp-js-terminal is not an npm package:

const { terminal } = require('javascript-simple-terminal')
terminal('git clone https://github.com/MichaelDimmitt/simp-js_term.git')

Project is implemented on this branch:

https://github.com/TylerGlisson/getRepos/blob/javascript-simple-terminal/getRepos.js

Objectives

Execute a file in node(without a server)

Give me a simple default shell so that I can execute stuff.

Progammer self.Instructions()

  git clone https://github.com/MichaelDimmitt/javascript-simple-terminal.git;
  cd javascript-simple-terminal;
  brew install npm;
  npm install;
  npm test;
  # The test suite takes 2 minutes to run please be patient.
  # This is because it scaffolds an angular application in the background.

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"

About

minimum lines of code. I want terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published