snippetbashTip
shards — Dependency management tool for the Crystal language. More information: <https://crystal-lang.org/ref
Viewed 0 times
themanagementdependencycommandshardsclitoolfor
Problem
How to use the
shards command: Dependency management tool for the Crystal language. More information: <https://crystal-lang.org/reference/the_shards_command>.Solution
shards — Dependency management tool for the Crystal language. More information: <https://crystal-lang.org/reference/the_shards_command>.Create a skeleton
shard.yml file:shards initInstall dependencies from a
shard.yml file:shards installUpdate all dependencies:
shards updateList all installed dependencies:
shards listDisplay version of dependency:
shards version {{path/to/dependency_directory}}Code Snippets
Create a skeleton `shard.yml` file
shards initInstall dependencies from a `shard.yml` file
shards installUpdate all dependencies
shards updateList all installed dependencies
shards listDisplay version of dependency
shards version {{path/to/dependency_directory}}Context
tldr-pages: common/shards
Revisions (0)
No revisions yet.