Python library to build pretty command line user prompts with interactive forms and validation
Overall
score
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.
Install with Tessl CLI
npx tessl i tessl/pypi-questionarydocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10