ui.questionary_ui_helper¶
QuestionaryUIHelper ¶
QuestionaryUIHelper(style: Optional[Style] = None)
Bases: _UiHelperBase
UI helper implementation using Questionary for interactive prompts.
Initializes the QuestionaryUIHelper with an optional custom style.
Source code in src/clabe/ui/questionary_ui_helper.py
78 79 80 | |
print ¶
print(message: str) -> None
Prints a message with custom styling.
Source code in src/clabe/ui/questionary_ui_helper.py
82 83 84 | |
input ¶
Prompts the user for input with custom styling.
Source code in src/clabe/ui/questionary_ui_helper.py
86 87 88 89 | |
prompt_pick_from_list ¶
Interactive list selection with visual highlighting using arrow keys or number shortcuts.
Source code in src/clabe/ui/questionary_ui_helper.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
prompt_yes_no_question ¶
Prompts the user with a yes/no question using custom styling.
Source code in src/clabe/ui/questionary_ui_helper.py
123 124 125 126 | |
prompt_text ¶
Prompts the user for generic text input using custom styling.
Source code in src/clabe/ui/questionary_ui_helper.py
128 129 130 131 | |
prompt_float ¶
Prompts the user for a float input using custom styling.
Source code in src/clabe/ui/questionary_ui_helper.py
133 134 135 136 137 138 139 140 141 142 | |