Skip to content

Commit

Permalink
docs(style): add single update command line for consistency (#824)
Browse files Browse the repository at this point in the history
Co-authored-by: AdrianGonz97 <[email protected]>
  • Loading branch information
MentalGear and AdrianGonz97 authored Feb 26, 2024
1 parent 8d679ec commit 067b019
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/www/src/content/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ Options:

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.

We plan on improving this command in the future to improve the update experience.
```bash
npx shadcn-svelte@latest update [component]
```

### Options

```txt
Usage: shadcn-svelte update [options] [components...]
Expand Down

0 comments on commit 067b019

Please sign in to comment.