ui icon indicating copy to clipboard operation
ui copied to clipboard

enhancement request: CLI add all

Open traversng opened this issue 1 year ago • 3 comments

Would be amazing to install all available components with a single command:

npx shadcn-ui add all

traversng avatar Jun 07 '23 16:06 traversng

This is already a thing. If you don't specify any component to add, the CLI allows you to select the components you want to install (with a multiselect) and has also a shortcut to select them all. However the select-all feature isn't working right now as mentioned in #571.

dan5py avatar Jun 12 '23 11:06 dan5py

This is already a thing. If you don't specify any component to add, the CLI allows you to select the components you want to install (with a multiselect) and has also a shortcut to select them all. However the select-all feature isn't working right now as mentioned in #571.

Should be added to the help command then? Ill PR if I can get around to it.

traversng avatar Jun 12 '23 14:06 traversng

This has been resolved by eeb17545a16824e11d09149a5ecab9fca570c448. Using the add command without arguments will show the correct multi-select prompt. You can press A from this prompt to select all available components.

sammyhass avatar Jun 27 '23 11:06 sammyhass

Maybe this has to be in the documentation.

kyuumeitai avatar Aug 13 '23 03:08 kyuumeitai

Maybe this has to be in the documentation.

For sure

robertseghedi avatar Nov 07 '23 17:11 robertseghedi

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

shadcn avatar Jun 29 '24 23:06 shadcn