From 0938a7cd58e2ab477dc57ce5c88cd6bbaff66e3f Mon Sep 17 00:00:00 2001 From: Goffi Date: Sun, 10 Jul 2022 16:15:09 +0200 Subject: [PATCH] doc (cli/pubsub): add doc for ``reference`` subcommand: rel 369 --- doc/libervia-cli/pubsub.rst | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/libervia-cli/pubsub.rst b/doc/libervia-cli/pubsub.rst index ef69845c..62f7de98 100644 --- a/doc/libervia-cli/pubsub.rst +++ b/doc/libervia-cli/pubsub.rst @@ -195,7 +195,7 @@ following command:: $ li pubsub subscriptions --public -s pierre@example.net affiliations -============= +============ Retrieve affiliations for all nodes at a service. @@ -212,6 +212,20 @@ Retrieve affiliation for the ``notes`` node:: $ li pubsub affiliations -s pubsub@example.net -n notes +reference +========= + +Send a reference (e.g. a mention) of a pubsub item to an entity. + +example +------- + +Pierre send a reference to Louise to indicate that she has been mentioned in his blog post +with ID ``from-paris-to-noumea-abcd``:: + + $ li pubsub reference -s pierre@example.net -n urn:xmpp:microblog:0 -i from-paris-to-noumea-abcd louise@example.org + + search ======