iblrig.tools.ask_user
- iblrig.tools.ask_user(prompt, default=False)[source]
Prompt the user for a yes/no response.
This function displays a prompt to the user and expects a yes or no response. The response is not case-sensitive. If the user presses Enter without typing anything, the function interprets it as the default response.
- Parameters:
- Returns:
True if the user responds with ‘yes’ False if the user responds with ‘no’
- Return type:
- Parameters: