Browse Source

shards: add page (#2372)

Aaron Tan 6 years ago
parent
commit
457c9b767b
1 changed files with 23 additions and 0 deletions
  1. 23 0
      pages/common/shards.md

+ 23 - 0
pages/common/shards.md

@@ -0,0 +1,23 @@
+# shards
+
+> Dependency management tool for the Crystal language.
+
+- 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:
+
+`shards version {{path/to/dependency_folder}}`