comparison doc/libervia-cli/profile.rst @ 3552:cc3d00d07c34

doc (cli/profile): add autoconnection in example
author Goffi <goffi@goffi.org>
date Wed, 09 Jun 2021 10:04:10 +0200
parents c80a0f864b5d
children 267e4987b58b
comparison
equal deleted inserted replaced
3551:0ce37cf3fbf4 3552:cc3d00d07c34
89 89
90 Create a component profile for the file sharing component (whose entry point is 90 Create a component profile for the file sharing component (whose entry point is
91 ``file_sharing``). The jid of the service is specified with ``--jid`` (note that we don't 91 ``file_sharing``). The jid of the service is specified with ``--jid`` (note that we don't
92 use a node as it is a jid of a component) and the ``--xmpp-password`` is the shared 92 use a node as it is a jid of a component) and the ``--xmpp-password`` is the shared
93 secret. Here the profile password is kept empty to not have to enter manually the XMPP 93 secret. Here the profile password is kept empty to not have to enter manually the XMPP
94 password each time we connect the service:: 94 password each time we connect the service. We use the ``-A`` option to set
95 autoconnection::
95 96
96 $ li profile create file_sharing -j files.example.org -p "" --xmpp-password 97 $ li profile create file_sharing -j files.example.org -p "" --xmpp-password
97 some_shared_secret -C file_sharing 98 some_shared_secret -C file_sharing -A
98 99
99 100
100 default 101 default
101 ======= 102 =======
102 103