aboutsummaryrefslogtreecommitdiffstats
path: root/src/force.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-19 21:00:40 +0000
committertv <tv@krebsco.de>2026-11-19 22:10:36 +0100
commitedb4443510d7c8e4957e953093a25f9e7876493e (patch)
treeed78864d7a71345c4af4da1e32ca7bbb4c2c20ed /src/force.rs
parent59cc0283117be6b4195afbe857d702e7f8ddba6e (diff)
continuum-party get: what counts, as JSON, a path at a time
What counts is kept by place, each place's value whole: `values` showed it so, a place a line, and `--json` as one object keyed by places. An application holds it as one tree. `get [PATH]` reads it so (tree, at): each place's value at its path, the maps on its way made, so that `get home/tv` is one object of everything under it, and `get home/tv/hosts/laptop/ip6` reaches into a place's value, a list's items by their index. Where a place lies under another's value, the deeper place is the later word there (merge). Nothing at a path is an error. `-r` writes a string as it is, as jq -r does; other values as JSON. Bash completes it with places and the paths on their way.
Diffstat (limited to 'src/force.rs')
0 files changed, 0 insertions, 0 deletions