Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xgheaven/jsshell
js shell like bash through telnet
https://github.com/xgheaven/jsshell
Last synced: about 1 month ago
JSON representation
js shell like bash through telnet
- Host: GitHub
- URL: https://github.com/xgheaven/jsshell
- Owner: XGHeaven
- Created: 2015-12-02T07:25:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-02T07:43:13.000Z (about 9 years ago)
- Last Synced: 2024-10-16T00:42:52.007Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Introduce
---Why I create this packages?
Because I want to control a server by remote with another computer, I doesn't like bash syntax.
So I can use js syntax to control.
Install
---1. first clone this repo
2. run `PORT=port pm2 start index.js`Usage
---1. `telnet localhost port`
2. write you commandBuild-in command
---- ls {Function} return Array
- cwd {String} return current work directory, default is `'/'`
- cd {Function} return changed directory if current path or do nothing with wrong pathTODO
---
- [ ] other bash command(like rm, touch)
- [ ] support `.command`
- [ ] support options
- [ ] support tab, up, auto complete