lucee.Component
commandbox.system.modules_app.system-commands.commands.confirm
Prompt the user for a yes/no. Requires an interactive terminal. An exit code of 0 is returned for a true response, and an exit code of 1 is retured for a false response. . Output a single file {code:bash} confirm "do you want to update? " && update {code}
| Method Summary | |
|---|---|
any
|
run(string question)
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Method Detail |
|---|
question - Question to ask the user