| Crates.io | ronq |
| lib.rs | ronq |
| version | 0.1.1 |
| created_at | 2025-12-23 16:51:05.799232+00 |
| updated_at | 2025-12-23 17:14:38.366618+00 |
| description | ron query cli utility |
| homepage | https://github.com/bircoder432/ronq |
| repository | https://github.com/bircoder432/ronq |
| max_upload_size | |
| id | 2001911 |
| size | 18,170 |
ronq
ronq is a CLI utility for working with RON (Rusty Object Notation) files, similar to jq for JSON.
Features:
users[0].idInstallation:
cargo install ronq
Usage:
Reading a RON file:
rq -f example.ron
Accessing a key:
rq users -f example.ron
Accessing nested keys and list elements:
rq users[0].id -f example.ron
Reading from stdin:
cat example.ron | rq users[0].username
Arguments:
-f, --file <FILE> — path to the RON file (defaults to stdin)<key> — optional path to a key or element. Use [index] for arrays and . for nested fieldsExample RON file:
(
users: [
(
id: 1,
username: "alice",
score: 123.45
),
(
id: 2,
username: "bob",
score: 67.89
)
]
)
Example commands:
rq users -f example.ron
rq users[0].username -f example.ron
rq users[1].score -f example.ron