OwlCyberSecurity - MANAGER
Edit File: caldavclientlibrary.admin.xmlaccounts.manage-pysrc.html
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>caldavclientlibrary.admin.xmlaccounts.manage</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th> <a href="caldavclientlibrary-module.html">Home</a> </th> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> <a href="caldavclientlibrary-module.html">Package caldavclientlibrary</a> :: <a href="caldavclientlibrary.admin-module.html">Package admin</a> :: <a href="caldavclientlibrary.admin.xmlaccounts-module.html">Package xmlaccounts</a> :: Module manage </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide private</a>]</span></td></tr> <tr><td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >] | <a href="caldavclientlibrary.admin.xmlaccounts.manage-pysrc.html" target="_top">no frames</a>]</span></td></tr> </table> </td> </tr> </table> <h1 class="epydoc">Source Code for <a href="caldavclientlibrary.admin.xmlaccounts.manage-module.html">Module caldavclientlibrary.admin.xmlaccounts.manage</a></h1> <pre class="py-src"> <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">##</tt> </tt> <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"># Copyright (c) 2007-2016 Apple Inc. All rights reserved.</tt> </tt> <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt> <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt> <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># You may obtain a copy of the License at</tt> </tt> <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"># http://www.apache.org/licenses/LICENSE-2.0</tt> </tt> <a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"><tt class="py-comment"># Unless required by applicable law or agreed to in writing, software</tt> </tt> <a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"><tt class="py-comment"># distributed under the License is distributed on an "AS IS" BASIS,</tt> </tt> <a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"><tt class="py-comment"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</tt> </tt> <a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"><tt class="py-comment"># See the License for the specific language governing permissions and</tt> </tt> <a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"><tt class="py-comment"># limitations under the License.</tt> </tt> <a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"><tt class="py-comment">##</tt> </tt> <a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> </tt> <a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"><tt class="py-comment">#import caldavclientlibrary.admin.xmlaccounts.commands</tt> </tt> <a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package caldavclientlibrary=caldavclientlibrary-module.html"><a title="caldavclientlibrary" class="py-name" href="#" onclick="return doclink('link-0', 'caldavclientlibrary', 'link-0');">caldavclientlibrary</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package caldavclientlibrary.admin=caldavclientlibrary.admin-module.html"><a title="caldavclientlibrary.admin" class="py-name" href="#" onclick="return doclink('link-1', 'admin', 'link-1');">admin</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Package caldavclientlibrary.admin.xmlaccounts=caldavclientlibrary.admin.xmlaccounts-module.html"><a title="caldavclientlibrary.admin.xmlaccounts" class="py-name" href="#" onclick="return doclink('link-2', 'xmlaccounts', 'link-2');">xmlaccounts</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Package caldavclientlibrary.admin.xmlaccounts.commands=caldavclientlibrary.admin.xmlaccounts.commands-module.html,Package caldavclientlibrary.browser.commands=caldavclientlibrary.browser.commands-module.html"><a title="caldavclientlibrary.admin.xmlaccounts.commands caldavclientlibrary.browser.commands" class="py-name" href="#" onclick="return doclink('link-3', 'commands', 'link-3');">commands</a></tt> <tt class="py-keyword">import</tt> <tt id="link-4" class="py-name" targets="Variable caldavclientlibrary.admin.xmlaccounts.commands.registered=caldavclientlibrary.admin.xmlaccounts.commands-module.html#registered"><a title="caldavclientlibrary.admin.xmlaccounts.commands.registered" class="py-name" href="#" onclick="return doclink('link-4', 'registered', 'link-4');">registered</a></tt> </tt> <a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> </tt> <a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt> <a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> </tt> <a name="usage"></a><div id="usage-def"><a name="L22"></a><tt class="py-lineno">22</tt> <a class="py-toggle" href="#" id="usage-toggle" onclick="return toggle('usage');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="caldavclientlibrary.admin.xmlaccounts.manage-module.html#usage">usage</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="usage-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="usage-expanded"><a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"><tt class="py-docstring"> Print out the command line usage.</tt> </tt> <a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> <tt class="py-name">cmds</tt> <tt class="py-op">=</tt> <tt id="link-5" class="py-name"><a title="caldavclientlibrary.admin.xmlaccounts.commands.registered" class="py-name" href="#" onclick="return doclink('link-5', 'registered', 'link-4');">registered</a></tt><tt class="py-op">.</tt><tt class="py-name">keys</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> <tt class="py-name">cmds</tt><tt class="py-op">.</tt><tt class="py-name">sort</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-string">"""USAGE: manage CMD [OPTIONS]</tt> </tt> <a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"><tt class="py-string"></tt> </tt> <a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"><tt class="py-string">CMD: one of:</tt> </tt> <a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"><tt class="py-string">%s</tt> </tt> <a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"><tt class="py-string"> </tt> </tt> <a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"><tt class="py-string">OPTIONS: specific to each command, use --help with the</tt> </tt> <a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"><tt class="py-string">command to see what options are supported.</tt> </tt> <a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"><tt class="py-string">"""</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-string">"\n"</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-string">"\t%s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">cmd</tt><tt class="py-op">,</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">cmd</tt> <tt class="py-keyword">in</tt> <tt class="py-name">cmds</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-op">)</tt> </tt> </div><a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"> </tt> <a name="runit"></a><div id="runit-def"><a name="L37"></a><tt class="py-lineno">37</tt> <a class="py-toggle" href="#" id="runit-toggle" onclick="return toggle('runit');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="caldavclientlibrary.admin.xmlaccounts.manage-module.html#runit">runit</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="runit-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="runit-expanded"><a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> <a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"><tt class="py-docstring"> Run the command based on command line arguments.</tt> </tt> <a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> <a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> </tt> <a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"> <tt class="py-comment"># Dispatch a command based on the first argument</tt> </tt> <a name="L43"></a><tt class="py-lineno">43</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt> <a name="L44"></a><tt class="py-lineno">44</tt> <tt class="py-line"> <tt id="link-6" class="py-name" targets="Method caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword.usage()=caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword-class.html#usage,Method caldavclientlibrary.admin.xmlaccounts.commands.command.Command.usage()=caldavclientlibrary.admin.xmlaccounts.commands.command.Command-class.html#usage,Method caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord.usage()=caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord-class.html#usage,Function caldavclientlibrary.admin.xmlaccounts.manage.usage()=caldavclientlibrary.admin.xmlaccounts.manage-module.html#usage,Method caldavclientlibrary.browser.command.Command.usage()=caldavclientlibrary.browser.command.Command-class.html#usage,Method caldavclientlibrary.browser.commands.acl.Add.usage()=caldavclientlibrary.browser.commands.acl.Add-class.html#usage,Method caldavclientlibrary.browser.commands.acl.Change.usage()=caldavclientlibrary.browser.commands.acl.Change-class.html#usage,Method caldavclientlibrary.browser.commands.acl.Cmd.usage()=caldavclientlibrary.browser.commands.acl.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.acl.List.usage()=caldavclientlibrary.browser.commands.acl.List-class.html#usage,Method caldavclientlibrary.browser.commands.acl.Remove.usage()=caldavclientlibrary.browser.commands.acl.Remove-class.html#usage,Method caldavclientlibrary.browser.commands.cat.Cmd.usage()=caldavclientlibrary.browser.commands.cat.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.cd.Cmd.usage()=caldavclientlibrary.browser.commands.cd.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.help.Cmd.usage()=caldavclientlibrary.browser.commands.help.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.history.Cmd.usage()=caldavclientlibrary.browser.commands.history.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.import.Cmd.usage()=caldavclientlibrary.browser.commands.import.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.logging.Cmd.usage()=caldavclientlibrary.browser.commands.logging.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.ls.Cmd.usage()=caldavclientlibrary.browser.commands.ls.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.mkadbk.Cmd.usage()=caldavclientlibrary.browser.commands.mkadbk.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.mkcal.Cmd.usage()=caldavclientlibrary.browser.commands.mkcal.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.mkdir.Cmd.usage()=caldavclientlibrary.browser.commands.mkdir.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.mv.Cmd.usage()=caldavclientlibrary.browser.commands.mv.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.principal.Cmd.usage()=caldavclientlibrary.browser.commands.principal.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.props.Cmd.usage()=caldavclientlibrary.browser.commands.props.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.proxies.Add.usage()=caldavclientlibrary.browser.commands.proxies.Add-class.html#usage,Method caldavclientlibrary.browser.commands.proxies.Cmd.usage()=caldavclientlibrary.browser.commands.proxies.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.proxies.List.usage()=caldavclientlibrary.browser.commands.proxies.List-class.html#usage,Method caldavclientlibrary.browser.commands.proxies.Remove.usage()=caldavclientlibrary.browser.commands.proxies.Remove-class.html#usage,Method caldavclientlibrary.browser.commands.put.Cmd.usage()=caldavclientlibrary.browser.commands.put.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.quit.Cmd.usage()=caldavclientlibrary.browser.commands.quit.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.quota.Cmd.usage()=caldavclientlibrary.browser.commands.quota.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.rm.Cmd.usage()=caldavclientlibrary.browser.commands.rm.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.server.Cmd.usage()=caldavclientlibrary.browser.commands.server.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.user.Cmd.usage()=caldavclientlibrary.browser.commands.user.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.whoami.Cmd.usage()=caldavclientlibrary.browser.commands.whoami.Cmd-class.html#usage,Function caldavclientlibrary.browser.shell.usage()=caldavclientlibrary.browser.shell-module.html#usage"><a title="caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword.usage caldavclientlibrary.admin.xmlaccounts.commands.command.Command.usage caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord.usage caldavclientlibrary.admin.xmlaccounts.manage.usage caldavclientlibrary.browser.command.Command.usage caldavclientlibrary.browser.commands.acl.Add.usage caldavclientlibrary.browser.commands.acl.Change.usage caldavclientlibrary.browser.commands.acl.Cmd.usage caldavclientlibrary.browser.commands.acl.List.usage caldavclientlibrary.browser.commands.acl.Remove.usage caldavclientlibrary.browser.commands.cat.Cmd.usage caldavclientlibrary.browser.commands.cd.Cmd.usage caldavclientlibrary.browser.commands.help.Cmd.usage caldavclientlibrary.browser.commands.history.Cmd.usage caldavclientlibrary.browser.commands.import.Cmd.usage caldavclientlibrary.browser.commands.logging.Cmd.usage caldavclientlibrary.browser.commands.ls.Cmd.usage caldavclientlibrary.browser.commands.mkadbk.Cmd.usage caldavclientlibrary.browser.commands.mkcal.Cmd.usage caldavclientlibrary.browser.commands.mkdir.Cmd.usage caldavclientlibrary.browser.commands.mv.Cmd.usage caldavclientlibrary.browser.commands.principal.Cmd.usage caldavclientlibrary.browser.commands.props.Cmd.usage caldavclientlibrary.browser.commands.proxies.Add.usage caldavclientlibrary.browser.commands.proxies.Cmd.usage caldavclientlibrary.browser.commands.proxies.List.usage caldavclientlibrary.browser.commands.proxies.Remove.usage caldavclientlibrary.browser.commands.put.Cmd.usage caldavclientlibrary.browser.commands.quit.Cmd.usage caldavclientlibrary.browser.commands.quota.Cmd.usage caldavclientlibrary.browser.commands.rm.Cmd.usage caldavclientlibrary.browser.commands.server.Cmd.usage caldavclientlibrary.browser.commands.user.Cmd.usage caldavclientlibrary.browser.commands.whoami.Cmd.usage caldavclientlibrary.browser.shell.usage" class="py-name" href="#" onclick="return doclink('link-6', 'usage', 'link-6');">usage</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L45"></a><tt class="py-lineno">45</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt> <a name="L46"></a><tt class="py-lineno">46</tt> <tt class="py-line"> </tt> <a name="L47"></a><tt class="py-lineno">47</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-7" class="py-name"><a title="caldavclientlibrary.admin.xmlaccounts.commands.registered" class="py-name" href="#" onclick="return doclink('link-7', 'registered', 'link-4');">registered</a></tt><tt class="py-op">.</tt><tt class="py-name">has_key</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> <a name="L48"></a><tt class="py-lineno">48</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt id="link-8" class="py-name"><a title="caldavclientlibrary.admin.xmlaccounts.commands.registered" class="py-name" href="#" onclick="return doclink('link-8', 'registered', 'link-4');">registered</a></tt><tt class="py-op">[</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">]</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Method caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword.execute()=caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword-class.html#execute,Method caldavclientlibrary.admin.xmlaccounts.commands.command.Command.execute()=caldavclientlibrary.admin.xmlaccounts.commands.command.Command-class.html#execute,Method caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord.execute()=caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord-class.html#execute,Method caldavclientlibrary.browser.baseshell.BaseShell.execute()=caldavclientlibrary.browser.baseshell.BaseShell-class.html#execute,Method caldavclientlibrary.browser.command.Command.execute()=caldavclientlibrary.browser.command.Command-class.html#execute,Method caldavclientlibrary.browser.commands.acl.Add.execute()=caldavclientlibrary.browser.commands.acl.Add-class.html#execute,Method caldavclientlibrary.browser.commands.acl.Change.execute()=caldavclientlibrary.browser.commands.acl.Change-class.html#execute,Method caldavclientlibrary.browser.commands.acl.Cmd.execute()=caldavclientlibrary.browser.commands.acl.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.acl.List.execute()=caldavclientlibrary.browser.commands.acl.List-class.html#execute,Method caldavclientlibrary.browser.commands.acl.Remove.execute()=caldavclientlibrary.browser.commands.acl.Remove-class.html#execute,Method caldavclientlibrary.browser.commands.cat.Cmd.execute()=caldavclientlibrary.browser.commands.cat.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.cd.Cmd.execute()=caldavclientlibrary.browser.commands.cd.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.help.Cmd.execute()=caldavclientlibrary.browser.commands.help.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.history.Cmd.execute()=caldavclientlibrary.browser.commands.history.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.import.Cmd.execute()=caldavclientlibrary.browser.commands.import.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.logging.Cmd.execute()=caldavclientlibrary.browser.commands.logging.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.ls.Cmd.execute()=caldavclientlibrary.browser.commands.ls.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.mkadbk.Cmd.execute()=caldavclientlibrary.browser.commands.mkadbk.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.mkcal.Cmd.execute()=caldavclientlibrary.browser.commands.mkcal.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.mkdir.Cmd.execute()=caldavclientlibrary.browser.commands.mkdir.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.mv.Cmd.execute()=caldavclientlibrary.browser.commands.mv.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.principal.Cmd.execute()=caldavclientlibrary.browser.commands.principal.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.props.Cmd.execute()=caldavclientlibrary.browser.commands.props.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.proxies.Add.execute()=caldavclientlibrary.browser.commands.proxies.Add-class.html#execute,Method caldavclientlibrary.browser.commands.proxies.Cmd.execute()=caldavclientlibrary.browser.commands.proxies.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.proxies.List.execute()=caldavclientlibrary.browser.commands.proxies.List-class.html#execute,Method caldavclientlibrary.browser.commands.proxies.Remove.execute()=caldavclientlibrary.browser.commands.proxies.Remove-class.html#execute,Method caldavclientlibrary.browser.commands.put.Cmd.execute()=caldavclientlibrary.browser.commands.put.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.quit.Cmd.execute()=caldavclientlibrary.browser.commands.quit.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.quota.Cmd.execute()=caldavclientlibrary.browser.commands.quota.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.rm.Cmd.execute()=caldavclientlibrary.browser.commands.rm.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.server.Cmd.execute()=caldavclientlibrary.browser.commands.server.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.user.Cmd.execute()=caldavclientlibrary.browser.commands.user.Cmd-class.html#execute,Method caldavclientlibrary.browser.commands.whoami.Cmd.execute()=caldavclientlibrary.browser.commands.whoami.Cmd-class.html#execute"><a title="caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword.execute caldavclientlibrary.admin.xmlaccounts.commands.command.Command.execute caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord.execute caldavclientlibrary.browser.baseshell.BaseShell.execute caldavclientlibrary.browser.command.Command.execute caldavclientlibrary.browser.commands.acl.Add.execute caldavclientlibrary.browser.commands.acl.Change.execute caldavclientlibrary.browser.commands.acl.Cmd.execute caldavclientlibrary.browser.commands.acl.List.execute caldavclientlibrary.browser.commands.acl.Remove.execute caldavclientlibrary.browser.commands.cat.Cmd.execute caldavclientlibrary.browser.commands.cd.Cmd.execute caldavclientlibrary.browser.commands.help.Cmd.execute caldavclientlibrary.browser.commands.history.Cmd.execute caldavclientlibrary.browser.commands.import.Cmd.execute caldavclientlibrary.browser.commands.logging.Cmd.execute caldavclientlibrary.browser.commands.ls.Cmd.execute caldavclientlibrary.browser.commands.mkadbk.Cmd.execute caldavclientlibrary.browser.commands.mkcal.Cmd.execute caldavclientlibrary.browser.commands.mkdir.Cmd.execute caldavclientlibrary.browser.commands.mv.Cmd.execute caldavclientlibrary.browser.commands.principal.Cmd.execute caldavclientlibrary.browser.commands.props.Cmd.execute caldavclientlibrary.browser.commands.proxies.Add.execute caldavclientlibrary.browser.commands.proxies.Cmd.execute caldavclientlibrary.browser.commands.proxies.List.execute caldavclientlibrary.browser.commands.proxies.Remove.execute caldavclientlibrary.browser.commands.put.Cmd.execute caldavclientlibrary.browser.commands.quit.Cmd.execute caldavclientlibrary.browser.commands.quota.Cmd.execute caldavclientlibrary.browser.commands.rm.Cmd.execute caldavclientlibrary.browser.commands.server.Cmd.execute caldavclientlibrary.browser.commands.user.Cmd.execute caldavclientlibrary.browser.commands.whoami.Cmd.execute" class="py-name" href="#" onclick="return doclink('link-9', 'execute', 'link-9');">execute</a></tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> <a name="L49"></a><tt class="py-lineno">49</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> <a name="L50"></a><tt class="py-lineno">50</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-string">"No command called '%s' is available."</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">,</tt><tt class="py-op">)</tt> </tt> <a name="L51"></a><tt class="py-lineno">51</tt> <tt class="py-line"> <tt id="link-10" class="py-name"><a title="caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword.usage caldavclientlibrary.admin.xmlaccounts.commands.command.Command.usage caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord.usage caldavclientlibrary.admin.xmlaccounts.manage.usage caldavclientlibrary.browser.command.Command.usage caldavclientlibrary.browser.commands.acl.Add.usage caldavclientlibrary.browser.commands.acl.Change.usage caldavclientlibrary.browser.commands.acl.Cmd.usage caldavclientlibrary.browser.commands.acl.List.usage caldavclientlibrary.browser.commands.acl.Remove.usage caldavclientlibrary.browser.commands.cat.Cmd.usage caldavclientlibrary.browser.commands.cd.Cmd.usage caldavclientlibrary.browser.commands.help.Cmd.usage caldavclientlibrary.browser.commands.history.Cmd.usage caldavclientlibrary.browser.commands.import.Cmd.usage caldavclientlibrary.browser.commands.logging.Cmd.usage caldavclientlibrary.browser.commands.ls.Cmd.usage caldavclientlibrary.browser.commands.mkadbk.Cmd.usage caldavclientlibrary.browser.commands.mkcal.Cmd.usage caldavclientlibrary.browser.commands.mkdir.Cmd.usage caldavclientlibrary.browser.commands.mv.Cmd.usage caldavclientlibrary.browser.commands.principal.Cmd.usage caldavclientlibrary.browser.commands.props.Cmd.usage caldavclientlibrary.browser.commands.proxies.Add.usage caldavclientlibrary.browser.commands.proxies.Cmd.usage caldavclientlibrary.browser.commands.proxies.List.usage caldavclientlibrary.browser.commands.proxies.Remove.usage caldavclientlibrary.browser.commands.put.Cmd.usage caldavclientlibrary.browser.commands.quit.Cmd.usage caldavclientlibrary.browser.commands.quota.Cmd.usage caldavclientlibrary.browser.commands.rm.Cmd.usage caldavclientlibrary.browser.commands.server.Cmd.usage caldavclientlibrary.browser.commands.user.Cmd.usage caldavclientlibrary.browser.commands.whoami.Cmd.usage caldavclientlibrary.browser.shell.usage" class="py-name" href="#" onclick="return doclink('link-10', 'usage', 'link-6');">usage</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L52"></a><tt class="py-lineno">52</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt> </div><a name="L53"></a><tt class="py-lineno">53</tt> <tt class="py-line"> </tt> <a name="L54"></a><tt class="py-lineno">54</tt> <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-name">__name__</tt> <tt class="py-op">==</tt> <tt class="py-string">'__main__'</tt><tt class="py-op">:</tt> </tt> <a name="L55"></a><tt class="py-lineno">55</tt> <tt class="py-line"> <tt id="link-11" class="py-name" targets="Function caldavclientlibrary.admin.xmlaccounts.manage.runit()=caldavclientlibrary.admin.xmlaccounts.manage-module.html#runit,Function caldavclientlibrary.browser.shell.runit()=caldavclientlibrary.browser.shell-module.html#runit"><a title="caldavclientlibrary.admin.xmlaccounts.manage.runit caldavclientlibrary.browser.shell.runit" class="py-name" href="#" onclick="return doclink('link-11', 'runit', 'link-11');">runit</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L56"></a><tt class="py-lineno">56</tt> <tt class="py-line"> </tt><script type="text/javascript"> <!-- expandto(location.href); // --> </script> </pre> <br /> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th> <a href="caldavclientlibrary-module.html">Home</a> </th> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Thu Jul 7 15:01:49 2011 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>