2 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
3 <head> |
3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 <meta http-equiv="Content-Style-Type" content="text/css" /> |
5 <meta http-equiv="Content-Style-Type" content="text/css" /> |
6 <meta name="generator" content="pandoc" /> |
6 <meta name="generator" content="pandoc" /> |
7 <title></title> |
7 <title>dav add-repository</title> |
8 <style type="text/css">code{white-space: pre;}</style> |
8 <style type="text/css">code{white-space: pre;}</style> |
9 <link rel="stylesheet" href="davdoc.css" type="text/css" /> |
9 <link rel="stylesheet" href="davdoc.css" type="text/css" /> |
10 </head> |
10 </head> |
11 <body> |
11 <body> |
12 <div class="header"> |
12 <div class="header"> |
62 </div> |
62 </div> |
63 </div> |
63 </div> |
64 |
64 |
65 <!-- begin content --> |
65 <!-- begin content --> |
66 <div class="content"> |
66 <div class="content"> |
67 <h1 id="dav-add-repository">dav add-repository</h1> |
67 <div id="header"> |
|
68 <h1 class="title">dav add-repository</h1> |
|
69 </div> |
68 <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> |
70 <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> |
69 <p><strong>Command alias:</strong> add-repo</p> |
71 <p><strong>Command alias:</strong> add-repo</p> |
70 <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> |
72 <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> |
71 <pre><code>$ dav add-repository |
73 <pre><code>$ dav add-repository |
72 Each repository must have an unique name. |
74 Each repository must have an unique name. |