From 45184e2834e805ba99ece2ec3267642184f2335d Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Sun, 25 Feb 2024 21:00:33 +0100 Subject: [PATCH] Update README.md to show how to add the dependency --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index d1b9a1633..f435818da 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,19 @@ Take part in our [discussions](https://github.com/VirtusLab/scala-yaml/discussio # Usage +Add as a dependency: + +- via sbt +```scala +libraryDependencies += "org.virtuslab" %% "scala-yaml" % "" +``` +- via scala-cli +```scala +//> using dep org.virtuslab::scala-yaml: +``` + +and use it in your code! + ```scala sc:compile import org.virtuslab.yaml.*