feat: mark recommended ask options

This commit is contained in:
Erik Kotsiuba
2026-08-12 14:18:59 +02:00
parent 4de596ae54
commit bd5f4520a3
20 changed files with 231 additions and 20 deletions
+3
View File
@@ -205,6 +205,9 @@ function cloneOption(option: AskState["questions"][number]["options"][number]) {
label: option.label,
...(option.description ? { description: option.description } : {}),
...(option.preview ? { preview: option.preview } : {}),
...(option.recommended === undefined
? {}
: { recommended: option.recommended }),
};
}