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