From 637a8603775d02ef014ec84491a2bbbb5c7c4f54 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 20 Nov 2026 00:52:58 +0000 Subject: continuum-party write -r: a string as it is A value not JSON is taken as a string with -r, as `get -r` prints one; without it, the error says so. --- docs/guides/federation/writing-and-reading.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/guides/federation/writing-and-reading.md b/docs/guides/federation/writing-and-reading.md index c6b27ba..a5b7ec3 100644 --- a/docs/guides/federation/writing-and-reading.md +++ b/docs/guides/federation/writing-and-reading.md @@ -28,7 +28,12 @@ continuum-party --node http://tv:secret@localhost:3000 --key tv.key --record tv. The value is any JSON: integers from −2⁵³ to 2⁵³ but no fractions, strings of whole Unicode characters, objects and arrays nested up to 32 deep with the event's own -object, the whole event up to 256 KiB. `null` empties the place. +object, the whole event up to 256 KiB. `null` empties the place. `-r` takes the value as +a string, as it is, not JSON: + +```sh +continuum-party write -r home/tv/motd 'hello, world' +``` The client signs the write with its key (`--key`), on the heads its node shows, which are what the party read; records it (`--record`), to sign it again after a move; and puts -- cgit v1.3.1