Python library to build pretty command line user prompts with interactive forms and validation
Overall
score
96%
Build a command-line tool that helps users select software packages to install on their system.
Your tool should prompt the user to select one or more software packages they want to install from a predefined list. The selected packages should be displayed back to the user.
The tool should present a multi-select prompt with the following packages:
After the user makes their selections, print:
Selected packages for installation:
- [package name 1]
- [package name 2]
...If no packages are selected, print:
No packages selected for installation.@generates
def run_installer():
"""
Runs the software package installer prompt.
Displays a multi-select prompt for the user to choose software packages
and prints the selected packages.
"""
passProvides interactive command-line prompts for user input.
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