The different question types are meant to cover different use cases. The parameters and configuration options are explained in detail for each type. But before we get into to many details, here is a cheatsheet with the available question types:
- use
type_text
to ask for free text input - use
type_password
to ask for free text where the text is hidden - use
type_path
to ask for a file or directory path with autocompletion - use
type_confirm
to ask a yes or no question - use
type_select
to ask the user to select one item from a beautiful list - use
type_raw_select
to ask the user to select one item from a list - use
type_checkbox
to ask the user to select any number of items from a list - use
type_autocomplete
to ask for free text with autocomplete help
questionary::text
questionary::password
questionary::path
questionary::confirm
questionary::select
questionary::rawselect
questionary::checkbox
questionary::autocomplete
questionary::print