You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(inquirerer): add optionsFrom resolver support for dynamic options
Adds a new 'optionsFrom' property to questions that allows resolving
options dynamically from a resolver, similar to how 'defaultFrom' and
'setFrom' work for default values.
This enables boilerplate templates to use dynamic option lists like:
{
"name": "license",
"type": "list",
"optionsFrom": "licenses"
}
The resolver should return an array of strings or OptionValue objects.
Co-Authored-By: Dan Lynch <[email protected]>
0 commit comments