20 lines
191 B
Markdown
20 lines
191 B
Markdown
|
# cq usage
|
||
|
|
||
|
```sh
|
||
|
cq < file.cbor
|
||
|
cq [attribute] < file.cbor
|
||
|
```
|
||
|
|
||
|
Example:
|
||
|
|
||
|
```sh
|
||
|
cq ".people.alice.age" < file.cbor
|
||
|
```
|
||
|
|
||
|
# json-to-cbor usage
|
||
|
|
||
|
```sh
|
||
|
json-to-cbor < file.json > file.cbor
|
||
|
```
|
||
|
|