Mercurial > libervia-backend
comparison doc/jp/info.rst @ 3041:72583524cfd3
doc (jp): jp commands are now fully documented:
rel 232
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 01 Oct 2019 22:49:06 +0200 |
parents | |
children | f6f716d90ce4 |
comparison
equal
deleted
inserted
replaced
3040:fee60f17ebac | 3041:72583524cfd3 |
---|---|
1 | |
2 ================================== | |
3 info: retrieve various information | |
4 ================================== | |
5 | |
6 ``info`` groups subcommands used to retrieve read-only informations. | |
7 | |
8 disco | |
9 ===== | |
10 | |
11 Display discovery information (see `XEP-0030`_ for details). This can be used to check | |
12 which features you server or a service is offering, and which items are available (items | |
13 can be services like chat room, gateways, etc). | |
14 | |
15 You only have to specify the jid of the entity to check, and optionally a node. | |
16 | |
17 By default both infos and items are requested, but you can restrict what to request by | |
18 using ``-t {infos,items,both}, --type {infos,items,both}`` | |
19 | |
20 .. _XEP-0030: https://xmpp.org/extensions/xep-0030.html | |
21 | |
22 | |
23 example | |
24 ------- | |
25 | |
26 Request infos and items from a server:: | |
27 | |
28 $ jp info disco example.org | |
29 | |
30 version | |
31 ======= | |
32 | |
33 Request software version of an entity. You only need to specify the jid of the entity as | |
34 positional argument. | |
35 | |
36 Depending of the software and its configuration, you have software version, software name, | |
37 and the operating system on which the software is running. | |
38 | |
39 example | |
40 ------- | |
41 | |
42 Check version of a server:: | |
43 | |
44 $ jp info version example.org | |
45 | |
46 session | |
47 ------- | |
48 | |
49 Give information about the session of the given profile. You'll the full jid currently | |
50 used on the server, and the time when the session was started (which may not be the same | |
51 time as when the connection with the XMPP server was started). | |
52 | |
53 example | |
54 ------- | |
55 | |
56 Get session informations:: | |
57 | |
58 $ jp info session |