diff --git a/.changeset/nice-icons-battle.md b/.changeset/nice-icons-battle.md new file mode 100644 index 00000000000..867a7c12eff --- /dev/null +++ b/.changeset/nice-icons-battle.md @@ -0,0 +1,5 @@ +--- +"shadcn-ui": minor +--- + +do not ask for confirmation diff --git a/packages/cli/src/commands/add.ts b/packages/cli/src/commands/add.ts index 553e430de41..30957296615 100644 --- a/packages/cli/src/commands/add.ts +++ b/packages/cli/src/commands/add.ts @@ -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 ",