Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: CLI not respecting -o and -y #1103

Open
2 tasks
liyasthomas opened this issue Mar 13, 2025 · 1 comment · May be fixed by #1113
Open
2 tasks

[Bug]: CLI not respecting -o and -y #1103

liyasthomas opened this issue Mar 13, 2025 · 1 comment · May be fixed by #1113
Labels
bug Something isn't working

Comments

@liyasthomas
Copy link

Reproduction

pnpm dlx shadcn-vue@latest add accordion -o -y

Describe the bug

CLI isn't respecting -o and -y options to overwrite and skip confirmation prompt.

Image

System Info

System:
    OS: macOS 15.3.1
    CPU: (8) arm64 Apple M2
    Memory: 584.45 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.4.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.9.0 - /opt/homebrew/bin/npm
    pnpm: 9.15.4 - ~/Library/pnpm/pnpm
    bun: 1.2.1 - ~/.bun/bin/bun
  Browsers:
    Chrome: 133.0.6943.142
    Safari: 18.3
  npmPackages:
    @vueuse/core: ^13.0.0 => 13.0.0 
    unplugin-auto-import: ^19.1.1 => 19.1.1 
    vue: ^3.5.13 => 3.5.13

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@liyasthomas liyasthomas added the bug Something isn't working label Mar 13, 2025
@liyasthomas liyasthomas changed the title [Bug]: CLI not respecting [Bug]: CLI not respecting -o and -y Mar 13, 2025
@Us3r-gitHub
Copy link

I've had a similar experience, and I believe the -y option only skips the utilities file, not the components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants