Replies: 1 comment 1 reply
-
yes, there's an option to silent (-s) the prompt, i've updated that feature in PR here - #7783 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a custom registry. When running
npx shadcn add ...
and one of the files already exists but isn't identical, the CLI prompts with the question "The file xxx already exists. Would you like to overwrite?":I couldn't find an option to skip that question. In my case, those files should never be overwritten, and are almost always manually edited.
Is it possible to skip it somehow? Can we add a flag for this use case?
Beta Was this translation helpful? Give feedback.
All reactions