tessl install tessl/pypi-questionary@2.1.0Python library to build pretty command line user prompts with interactive forms and validation
Agent Success
Agent success rate when using this tile
96%
Improvement
Agent success rate improvement when using this tile compared to baseline
1x
Baseline
Agent success rate without this tile
96%
A command-line tool that guides users through a system configuration process with interactive confirmation prompts.
The tool prompts the user with yes/no questions to configure various system settings. It should handle user responses appropriately and proceed based on their choices.
@generates
def configure_system():
"""
Runs an interactive configuration process with yes/no prompts.
Asks the user three questions:
1. "Do you want to enable automatic updates?" (no default)
2. "Would you like to create a backup?" (default: Yes)
3. "Delete temporary files?" (default: No)
Returns:
dict: A dictionary with keys 'auto_updates', 'create_backup',
and 'delete_temp_files', each mapped to boolean values.
"""Provides interactive command-line prompts for user confirmation.