Fork me on GitHub

Module ringo/shell

Functions


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.

write ()

Write 0..n arguments to standard output.


writeln ()

Write 0..n arguments to standard output, followed by a newline.