Function yes_no_prompt
Ask for a Yes/No response if on terminal, otherwise return default answer
boolean |
$default = false |
The answer used if not interactive |
boolean
|
True if the answer is Yes, false if the answer is No |
Ask for a Yes/No response if on terminal, otherwise return default answer
boolean |
$default = false |
The answer used if not interactive |
boolean
|
True if the answer is Yes, false if the answer is No |