Please note
This version of Fabric is outdated. If you're looking for the latest stable release, please click here.
Console/terminal user interface functionality.
Ask user a yes/no question and return their response as True or False.
question should be a simple, grammatically complete question such as “Do you wish to continue?”, and will have a string similar to ” [Y/n] ” appended automatically. This function will not append a question mark for you.
By default, when the user presses Enter without typing anything, “yes” is assumed. This can be changed by specifying default=False.