<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Server.Client.Commands.CommandUtil" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-8.0-RELEASE-p2-i386-2.4/Ft/Server/Client/Commands/CommandUtil.py">
  <modification-date>2005-03-19 10:41:16</modification-date>
  <abstract>Functions used by various '4ss' command implementations.</abstract>
  <description>Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <functions>
    <function public="yes" name="GetRepository" id="GetRepository">
      <abstract>Given an options dictionary and the name of a command, uses the
options in an attempt to obtain a repository access object, then
verifies that the user attempting the access has execute access
on the corresopnding Command resource in the repository. If
successful, returns the repository access object. Otherwise,
prints an exception message to standard error and returns None.</abstract>
      <description/>
      <arguments>
        <arg name="options"/>
        <arg name="cmdName"/>
      </arguments>
    </function>
    <function public="yes" name="WritePreamble" id="WritePreamble">
      <abstract>Commands that need to preface their output with a preamble can
use this function to write it to the output stream (a file-like
object) in a consistent way. The given heading will be wrapped
if necessary to fit within a maximum width, then will be written
out, followed by a row a underline characters that is as wide
as the widest line in the heading.</abstract>
      <description/>
      <arguments>
        <arg name="heading"/>
        <arg default="'='" name="uchar"/>
        <arg default="None" name="maxwidth"/>
        <arg default="&lt;open file '&lt;stderr&gt;', mode 'w' at 0x484170b0&gt;" name="stream"/>
      </arguments>
    </function>
  </functions>
  <fields>
    <field public="no" name="__all__" id="__all__">
      <value>['GetRepository', 'WritePreamble']</value>
    </field>
  </fields>
</module>
