Merge branch 'main' of github.com:shadcn/ui

This commit is contained in:
shadcn
2023-09-19 16:36:06 +04:00
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"shadcn-ui": minor
---
do not ask for confirmation

View File

@@ -32,7 +32,7 @@ export const add = new Command()
.name("add")
.description("add a component to your project")
.argument("[components...]", "the components to add")
.option("-y, --yes", "skip confirmation prompt.", false)
.option("-y, --yes", "skip confirmation prompt.", true)
.option("-o, --overwrite", "overwrite existing files.", false)
.option(
"-c, --cwd <cwd>",