doc (cli/event): update doc following changes:

rel 372
This commit is contained in:
Goffi 2022-09-22 12:01:44 +02:00
commit b06f5cad04

View file

@ -11,11 +11,10 @@ event/invitee: event invitees management
get
===
Retrieve the RSVP status of one guest. Note that you must the invitees node and not the
event node. To retrieve invitees node, use :ref:`libervia-cli_event_get` with the event node.
Retrieve the RSVP status of one or several guest(s).
You may specify the guest bare jid using ``-j JID, --jid JID`` (by default your own bare
jid will be used).
You may specify the guest(s) to retrieve by using their bare JIDs with ``-j JIDS, --jid
JIDS`` as many times as necessary. By default, all guests RSVPs are retrieved.
If no response is known yet, no data is returned.
@ -24,7 +23,7 @@ example
Get RSVP of Louise::
$ li event invitee get -u "xmpp:pierre@example.net?;node=generic%2F876a2b99-1c90-41fa-b823-c4a467140770" -j louise@example.org
$ li event invitee get -u "xmpp:pubsub.example.net?;node=urn%3Axmpp%3Aevents%3A0%2Fparty;item=picnic_abd1" -j louise@example.org
.. _libervia-cli_event_invitee_set:
@ -32,19 +31,18 @@ Get RSVP of Louise::
set
===
Set your own RSVP data. Note that as for libervia-cli_event_invitee_get_ you must use
invitees node and not the event node.
Set your own RSVP data.
Use ``-f KEY VALUE, --field KEY VALUE`` to specify the data to set. ``KEY`` can be one of
``attend`` (where calue can be ``yes``, ``no``, or ``maybe``) and ``guests`` where value
must be an integer.
Use ``-f KEY VALUE, --field KEY VALUE`` to specify the data to set. ``KEY`` can any field
name used in the RSVP form, where usually ``attending`` is used (with the possible values
of ``yes``, ``no``, and ``maybe``).
example
-------
Indicate that you'll come to an event with 3 guests::
Indicate that you'll come to a picnic::
$ li event invitee set -u "xmpp:pierre@example.net?;node=generic%2F876a2b99-1c90-41fa-b823-c4a467140770" -f attend yes -f guests 3
$ li event invitee set -s pubsub.example.net -n urn:xmpp:events:0/party -i picnic_abd1 -f attending yes
list
====