tldr/pages/common/shards.md

25 lines
441 B
Markdown
Raw Permalink Normal View History

2018-10-03 11:55:28 +01:00
# shards
> Dependency management tool for the Crystal language.
> More information: <https://crystal-lang.org/reference/the_shards_command>.
2018-10-03 11:55:28 +01:00
- Create a skeleton `shard.yml` file:
2018-10-03 11:55:28 +01:00
`shards init`
- Install dependencies from a `shard.yml` file:
2018-10-03 11:55:28 +01:00
`shards install`
- Update all dependencies:
`shards update`
- List all installed dependencies:
`shards list`
- List version of dependency:
`shards version {{path/to/dependency_directory}}`