From 71a048d76da791793fe9810612aa0393afd8a5c4 Mon Sep 17 00:00:00 2001 From: Edouard Duplessis Date: Tue, 29 Oct 2024 15:50:17 -0400 Subject: [PATCH] Update cli.md There's no update command --- apps/www/src/content/docs/cli.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/www/src/content/docs/cli.md b/apps/www/src/content/docs/cli.md index 778bae91..2b2530fc 100644 --- a/apps/www/src/content/docs/cli.md +++ b/apps/www/src/content/docs/cli.md @@ -84,21 +84,22 @@ Options: -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. ```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: components name of components Options: - -c, --cwd the working directory. (default: the current directory) + -y, --yes skip confirmation prompt. (default: false) + -c, --cwd the working directory. defaults to the current directory. (default: "/workspaces/feedbaak.io") -h, --help display help for command ```