UNPKG

runtime-shell

Version:

Some useful shell commands for runtime.js

24 lines (19 loc) 712 B
# runtime-shell Shell commands for runtimejs ### Usage: ```javascript // Note the '()', this loads the commands. var rshell = require('runtime-shell')(); rshell.version; // Returns version (only export for now) ``` Commands (as of v0.1.0): * ~~ping~~ (temporarily disabled) * eval * echo * clear * date Commands that rely on `runtime-tmpdisk-client` (and `runtime-tmpdisk-server`, these *are* optional): * ls Why did I remove poweroff, and reboot? They come with runtimejs now. ### Ideas? If you have any ideas for commands, open an issue or a PR. ~~Just remember, absolutely NO FS related commands.~~ `fs` commands are acceptable, but they are only loaded if `runtime-tmpdisk-client` is loaded.