Python library to build pretty command line user prompts with interactive forms and validation
Overall
score
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.
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