CLIRead
Reads a line of text from the CLI.
You can optionally provide a prompt string to display before reading the input.
Method Signature
CLIRead(prompt=[string])Arguments
Argument
Type
Required
Description
Default
prompt
string
false
An optional prompt string to display before reading input.
Examples
Read input from the CLI
// In a CLI context, reads a line from stdin
// value = cliRead( "Enter name: " );
writeOutput( "reads stdin" );
Result: reads stdin
Related
Last updated
Was this helpful?
