This commit is contained in:
Edouard Duplessis 2024-11-09 14:49:14 +02:00 committed by GitHub
commit 81e226f96f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,21 +84,22 @@ Options:
-h, --help display help for command -h, --help display help for command
``` ```
## update ## Diff
Use the `update` command to update components in your project. This will overwrite any modifications you've made to the components, so be sure to commit your changes before running this command. Use the `diff` command to update components in your project. This will overwrite any modifications you've made to the components, so be sure to commit your changes before running this command.
We plan on improving this command in the future to improve the update experience. We plan on improving this command in the future to improve the update experience.
```txt ```txt
Usage: shadcn-vue update [options] [components...] Usage: shadcn-vue diff [options] [components...]
update components in your project check for updates against the registry
Arguments: Arguments:
components name of components components name of components
Options: Options:
-c, --cwd <cwd> the working directory. (default: the current directory) -y, --yes skip confirmation prompt. (default: false)
-c, --cwd <cwd> the working directory. defaults to the current directory. (default: "/workspaces/feedbaak.io")
-h, --help display help for command -h, --help display help for command
``` ```