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

shards remove command #576

Open
devnote-dev opened this issue Jan 24, 2023 · 0 comments
Open

shards remove command #576

devnote-dev opened this issue Jan 24, 2023 · 0 comments

Comments

@devnote-dev
Copy link
Contributor

devnote-dev commented Jan 24, 2023

Following the naming of #144 and #144 (comment), have a shards remove command to remove a dependency/dependencies from shard.yml. Currently, if you want to remove one or more dependencies from your project, you have to do the following:

  • remove the dependencies from shard.yml
  • run shards update
  • run shards prune

While this process isn't necessarily wrong, it's not intuitive either – new Crystal users aren't going to know that this is the process as it isn't really documented, nor does it imply that what you're doing is essentially what a remove command would do. Furthermore, if you mistakenly skipped running shards update then those dependencies are stuck sitting in the lib folder which can lead to unexpected hidden issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants