Module ringo/shell
provides functions to work with the Ringo shell.
quit ()
Quit the shell and exit the JVM.
read ()
Read a single character from the standard input.
readln (prompt, echoChar)
Read a single line from the standard input.
Parameters
| prompt | {String} optional prompt to display | |
| echoChar | {String} character to use as echo, e.g. '*' for passwords or '' for no echo. |
start (engine)
Start the shell programmatically. This uses the current thread and thus will not return. You should therefore call this function as the last statement in your script. Terminating the shell will exit the program.
Parameters
| engine |
write ()
Write 0..n arguments to standard output.
writeln ()
Write 0..n arguments to standard output, followed by a newline.
