InquirerCheckbox
Bases: InquirerWidget
A checkbox widget that allows multiple selections from a list of choices.
__init__(message, choices, enabled=None)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message
|
str
|
The prompt message to display. |
required |
choices
|
list[str | Choice]
|
A list of choices to present to the user. |
required |
enabled
|
list[str | Choice] | None
|
A list of choices that should be pre-selected. |
None
|