mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 07:59:34 +00:00
Update cheatsheets
This commit is contained in:
29
shards
Normal file
29
shards
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 init`
|
||||
|
||||
- Install dependencies from a `shard.yml` file:
|
||||
|
||||
`shards install`
|
||||
|
||||
- Update all dependencies:
|
||||
|
||||
`shards update`
|
||||
|
||||
- List all installed dependencies:
|
||||
|
||||
`shards list`
|
||||
|
||||
- Display version of dependency:
|
||||
|
||||
`shards version {{path/to/dependency_directory}}`
|
||||
Reference in New Issue
Block a user