Skip to content

Commit a0c733a

Browse files
authored
Update README.md
1 parent 3abb633 commit a0c733a

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ Iridium CBOR-LD provides a full implementation of the [CBOR-LD 1.0 specification
2222
- 🧱 Support for custom document dictionaries and builders
2323
- 📦 Integration with [Verifiable Credential Barcodes](https://w3c-ccg.github.io/vc-barcodes/)
2424

25-
## CLI
26-
[LD-CLI](https://github.com/filip26/ld-cli) is a command line utility for Ubuntu, Mac and Windows.
27-
2825
## Usage
2926

3027
### Encoding
@@ -151,7 +148,6 @@ CborLd.createDecoder(CborLdVersion.V1, CborLdVersion.V06, CborLdVersion.V05)
151148
.build();
152149
```
153150

154-
155151
## Installation
156152

157153
Java 17+
@@ -177,6 +173,21 @@ Add JSON-P provider, if it is not on the classpath already.
177173
</dependency>
178174
```
179175

176+
## LD-CLI
177+
[LD-CLI](https://github.com/filip26/ld-cli) is a command-line utility for
178+
working with CBOR-LD, JSON-LD, multiformats, and related specifications.
179+
180+
It provides encoding, decoding, detection, analysis, and format conversion
181+
features, making it useful for inspecting identifiers, testing content
182+
addressing, and integrating multiformats into development workflows.
183+
184+
### Example
185+
186+
Decompress CBOR-LD into JSON-LD
187+
```bash
188+
ld-cli decompress --pretty --hex --dictionary ./utopia-barcodes-dictionary-example.json <<< 'd90664a60183198000198001198002189d82187618a418b8a3189c18a618ce18b218d01ae592208118baa2189c18a018a8447582002018be18aa18c0a5189c186c18d60418e018e618e258417ab7c2e56b49e2cce62184ce26818e15a8b173164401b5d3bb93ffd6d2b5eb8f6ac0971502ae3dd49d17ec66528164034c912685b8111bc04cdc9ec13dbadd91cc18e418ac'
189+
```
190+
180191
## Contributing
181192

182193
All PR's welcome!

0 commit comments

Comments
 (0)