Add examples to manual

main
Charles E. Lehner 4 years ago
parent f621b1c1a8
commit 59372e8cd8
Signed by: cel
GPG Key ID: C28D95BB012367EA

@ -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

Loading…
Cancel
Save