cq < file.cbor cq [attribute] < file.cbor
Example:
cq ".people.alice.age" < file.cbor
json-to-cbor < file.json > file.cbor