CLI

update

Update items in your project.

jsrepo update

Usage

Update an item in your project:

jsrepo update button

Select which items from your project that you want to update:

jsrepo update
◆  Which items would you like to update?
│  ■ button
│  □ math
│  □ logger

Update an item from a specific registry:

jsrepo update @ieedan/shadcn-svelte-extras/button

Update all items in your project:

jsrepo update --all

Options

--all

Update all items in your project:

jsrepo update --all

--cwd

The current working directory:

jsrepo update button --cwd ./my-project

--expand

Expands the diff so you see the entire file:

jsrepo update button --expand

--max-unchanged

Maximum unchanged lines that will show without being collapsed:

jsrepo update button --max-unchanged 20

--overwrite

Overwrite files without prompting:

jsrepo update button --overwrite

--registry

The registry to update items from:

jsrepo update button --registry @ieedan/shadcn-svelte-extras

--verbose

Include debug logs:

jsrepo update button --verbose

--with-docs

Include docs in the update:

jsrepo update --with-docs

--with-examples

Include examples in the update:

jsrepo update --with-examples

--with-tests

Include tests in the update:

jsrepo update --with-tests

--yes

Skip the confirmation prompt:

jsrepo update button --yes