repl

Parameters:
Name Type Required Default Hint
input string false Optional CFML to execute. If provided, the command exits immediatley.
script boolean false true Run REPL in script or tag mode
directory string false Directory to start the REPL in (defaults to current working directory).

Command Usage

The REPL (Read-Eval-Print-Loop) command allows you to write and execute a-la-carte CFML code right in
your console. Variables set in will be available on subsequent lines.

repl
By default we surround your code in a 'cfscript' tag, but you can also use the 'script=false'
argument to use the REPL console in tag mode.
repl --!script
The REPL has a separate command history for scripts and tags. Use the up-arrow to look at previous
lines in the history. The REPLs histories can be managed by the "history" command.