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 user registration wizard that collects developer information through an interactive multi-question form.
Build a registration wizard that collects the following information from a developer:
The wizard should:
@generates
def run_registration_wizard():
"""
Runs an interactive registration wizard that collects developer information.
Returns:
dict: A dictionary containing the collected answers with keys:
- 'username': str
- 'programming_language': str
- 'years_of_experience': str
- 'team_lead': bool
- 'team_size': str (only if team_lead is True)
- 'newsletter': bool
"""
passProvides interactive command-line prompts and form functionality.