docs/html/add-repository.html

changeset 276
20a176d5a53e
parent 273
c743721d566f
child 283
0e36bb75a732
--- a/docs/html/add-repository.html	Sat Aug 05 09:36:03 2017 +0200
+++ b/docs/html/add-repository.html	Sat Aug 05 09:56:51 2017 +0200
@@ -65,8 +65,19 @@
 <!-- begin content -->
 <div class="content">
 <h1 id="dav-add-repository">dav add-repository</h1>
-<p>The command runs an interactive assistant that creates a repository configuration and adds it to the config.xml file.</p>
+<p>This command runs an interactive assistant that creates a repository <a href="./configuration.html">configuration</a> and adds it to the config.xml file.</p>
 <p><strong>Command alias:</strong> add-repo</p>
+<p>The assistant firstly asks for a unique repository name. If you are not sure, which names are already in use, you can get a list of currently present repositories with <a href="./list-repositories.html">dav list-repositories</a>. Then you specifiy the base URL and optional authentication information. Please keep in mind, that the password is stored base64 encoded in your configuration. If you do not want this to happen, leave the password blank. <code>dav</code> will ask you for the password when accessing the repository. Beware that you don't use password prompt in background jobs, though. A call of <code>add-repository</code> may look like this.</p>
+<pre><code>$ dav add-repository
+Each repository must have an unique name.
+name: myfirstrepo
+
+Specify the repository base url.
+url: https://mynas.local/webdav
+
+User for HTTP authentication.
+user (optional): mywebuser
+password (optional): </code></pre>
 </div>
 <!-- end content -->
 </body>

mercurial