<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Lib.CommandLine.CommandLineApp" file="/work/a/ports/textproc/py-4suite-xml/work/4Suite-1.0b3/build/lib.freebsd-6.1-PRERELEASE-i386-2.4/Ft/Lib/CommandLine/CommandLineApp.py">
  <modification-date>2005-03-03 05:23:51</modification-date>
  <abstract>Base class for a command-line application, which is a type of Command</abstract>
  <description>Copyright 2003 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <classes>
    <class name="CommandLineApp" public="yes">
      <bases>
        <base documented="yes" class="Command" module="Ft.Lib.CommandLine.Command"/>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="CommandLineApp" module="Ft.Lib.CommandLine.CommandLineApp"/>
        <base name="Command" module="Ft.Lib.CommandLine.Command"/>
      </method-resolution-order>
      <methods name="Command" module="Ft.Lib.CommandLine.Command">
        <method public="no" name="__init__" id="CommandLineApp-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="description"/>
            <arg name="verbose_description"/>
            <arg name="subCommands"/>
            <arg default="None" name="options"/>
            <arg default="None" name="authenticationFunction"/>
            <arg default="None" name="ourOptions"/>
            <arg default="1" name="enableShowCommands"/>
            <arg default="None" name="fileName"/>
          </arguments>
          <overrides documented="yes" class="Command" module="Ft.Lib.CommandLine.Command"/>
        </method>
        <method public="yes" name="gen_command_tree" id="CommandLineApp-gen_command_tree">
          <abstract>Generate the command tree (a show all commands look)</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="gen_usage" id="CommandLineApp-gen_usage">
          <abstract>Generate usage info. This includes description, command line,
options, and subcommands or arguments.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg default="None" name="command"/>
          </arguments>
        </method>
        <method public="yes" name="get_help_doc_info" id="CommandLineApp-get_help_doc_info">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="parse_command_line" id="CommandLineApp-parse_command_line">
          <abstract>Parse the command line</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="run" id="CommandLineApp-run">
          <abstract>Parse the command line and attempt to run the command.
Typically overridden in the subclasses.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg default="None" name="script_name"/>
            <arg default="None" name="script_args"/>
          </arguments>
        </method>
        <method public="yes" name="validate_arguments" id="CommandLineApp-validate_arguments">
          <abstract>Validate the arguments.
Typically overridden in the subclasses.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="args"/>
          </arguments>
          <overrides documented="yes" class="Command" module="Ft.Lib.CommandLine.Command"/>
        </method>
        <method public="yes" name="validate_options" id="CommandLineApp-validate_options">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="options"/>
          </arguments>
          <overrides documented="yes" class="Command" module="Ft.Lib.CommandLine.Command"/>
        </method>
      </methods>
      <members name="Command" module="Ft.Lib.CommandLine.Command">
        <member public="yes" name="global_options" id="CommandLineApp-global_options">
          <value>[[--help]]</value>
        </member>
      </members>
      <inherited-methods documented="yes" class="Command" module="Ft.Lib.CommandLine.Command">
        <member-reference name="break_parent_relationship" public="yes"/>
        <member-reference name="build_parent_relationship" public="yes"/>
        <member-reference name="flatten_command_tree" public="yes"/>
        <member-reference name="run_command" public="yes"/>
      </inherited-methods>
    </class>
  </classes>
  <globals>
    <global public="yes" name="CONSOLE_WIDTH" id="CONSOLE_WIDTH">
      <value>80</value>
    </global>
  </globals>
</module>
