ui
ui copied to clipboard
CLI: hint when running `add` without additional arguments is incorrect
When using the CLI if we pass no additional arguments to the add
command, a prompt will be shown where users can select the component(s) they wish to install. The instructions for this prompt say that it is possible to press I
to invert the selection and A
to select all components but as far as I can tell, this doesn't work. This seems to be because the prompts
package autocompleteMultiselect
field uses a search box which filters the results, so upon pressing any key, that key will be entered into the search field as opposed to being used to select/deselect certain components to install. I suggest we fix this by changing the promptForComponents
to use a multiselect
field instead of an autocompleteMultiselect
as well as updating the instructions for the prompt so they are in line with the documentation for the prompts
package.