Patch Changes
- #5400
0e296f5
Thanks @kitlangton! - cli: multiSelect supports per-choice default selection viaselected: true
; single select honors one default- Add
selected?: boolean
toPrompt.SelectChoice
- Seed initial selection in
Prompt.multiSelect
from choices markedselected: true
- Allow
Prompt.select
to honor a singleselected: true
choice and throw an error if multiple defaults are provided - Add tests covering both behaviors
- Add