This shadcn-simple-cli is a CLI library for using installations shadcn-ui components easily and simply.
You need to init shadcn-ui before installation shadcn-simple-cli [shadcn-ui installation]
npm | yarn | global |
---|---|---|
npm i -D shadcn-simple-cli | yarn add -D shadcn-simple-cli | npm i -g shadcn-simple-cli |
tag | description |
---|---|
-v, --version | output the current version |
-t, --target <component> | directly select to shadcn-ui component |
-s, --select | get component list for select |
-o, --overwrite | overwrite the existing component and download a new one |
-h, --help | output all commands and guide |
-d, --docs | link to shadcn/ui document |
npm i -D shadcn-simple-cli
npx shad -s
npm i -g shadcn-simple-cli
shad -s
shad -t button
Use overwrite option
shad -s -o
shad -t button -o
package name | source |
---|---|
shadcn-ui | https://github.com/shadcn-ui/ui |
@inquirer/select | https://github.com/SBoudrias/Inquirer.js |
axios | https://github.com/axios/axios |
cheerio | https://github.com/cheeriojs/cheerio |
chalk | https://github.com/chalk/chalk |
commander | https://github.com/tj/commander.js |
dotenv | https://github.com/motdotla/dotenv |