From 59372e8cd8ad799749c6ed3232f87b3b4d3031e4 Mon Sep 17 00:00:00 2001 From: "Charles E. Lehner" Date: Sat, 30 Jan 2021 14:19:45 -0500 Subject: [PATCH] Add examples to manual --- sbotc.1 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/sbotc.1 b/sbotc.1 index 738e3d1..3b863d6 100644 --- a/sbotc.1 +++ b/sbotc.1 @@ -204,6 +204,25 @@ An error occurred. .It 2 The command completed with an error. .El +.Sh EXAMPLES +Get your SSB feed id: +.Dl $ sbotc whoami +.Pp +Get a message: +.Dl $ sbotc -e get %133ulDgs/oC1DXjoK04vDFy6DgVBB/Zok15YJmuhD5Q=.sha256 +.Pp +Get ten most-recently-replicated messages: +.Dl $ sbotc createLogStream '{"limit":10,"reverse":true}' +.Pp +Get messages of type +.Ql about : +.Dl $ sbotc -e messagesByType about +.Pp +Get a blob: +.Dl $ sbotc -e blobs.get &md3xRCUCl2OZfu/TvPv4xl4UhDKK15W1XLphrbkHBYk=.sha256 +.Pp +Call a method on a remote server: +.Dl $ sbotc -s ssb.example.org -k @5KnIpNW5QxyjhhVxwTm4yjz2eBaZUUbiuAt7OSSalW8=.ed25519 whoami .Sh AUTHORS .Nm was written by