lucee.Component
commandbox.system.modules_app.system-commands.commands.ask
Prompt the user for an answer and return it. Requires an interactive terminal. . Output a single file {code:bash} set color=`ask "favorite Color? "` echo "you said ${color}" {code}
| Method Summary | |
|---|---|
any
|
run(string question, [string defaultResponse=''], [string mask=''])
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Method Detail |
|---|
question - Question to ask the userdefaultResponse - Default what shows in the buffermask - Set to a char like * to hide passwords, etc