Skip to content

Add --[no-]reinstall options to cli #2748

@cbenz

Description

@cbenz

Prerequisites

  • This feature already exists in shadcn/ui - if not, it won't be considered here so don't continue with your issue.

Describe the feature

In https://ui.shadcn.com/docs/cli we can see that the CLI has 2 options --reinstall and --no-reinstall that are not implemented in shadcn-svelte CLI:

  --reinstall                re-install existing UI components.
  --no-reinstall             do not re-install existing UI components.

Is it possible to add them?

Currently I'm using a custom script for this use case that calls pnpx shadcn-svelte@latest add "${COMPONENTS[@]}" --overwrite --yes for all the components already installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliThe issue relates to the CLIparityRequest for parity to upstream shadcn/ui

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions