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

fix: handle already exist error #190

Open
codingcodax opened this issue Oct 18, 2024 · 0 comments
Open

fix: handle already exist error #190

codingcodax opened this issue Oct 18, 2024 · 0 comments
Assignees

Comments

@codingcodax
Copy link
Member

codingcodax commented Oct 18, 2024

When the user executes pnpx @kosori/cli add components <components> and the "required components" already exist, it returns an error.

For example:

  1. The user has already added the button component (manually or with the CLI).
  2. pnpx @kosori/cli add components alert-dialog.
  3. The console returns an error that the component already exists.Image
@codingcodax codingcodax self-assigned this Oct 18, 2024
@codingcodax codingcodax converted this from a draft issue Oct 18, 2024
@codingcodax codingcodax changed the title fix: handle cli errors on add command fix: handle already exist error Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant