Skip to content

Commit

Permalink
Update README.md to show how to add the dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik authored Feb 25, 2024
1 parent e5c260a commit 45184e2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" % "<version>"
```
- via scala-cli
```scala
//> using dep org.virtuslab::scala-yaml:<version>
```

and use it in your code!

```scala sc:compile
import org.virtuslab.yaml.*

Expand Down

0 comments on commit 45184e2

Please sign in to comment.