Ft.Lib.CommandLine.CommandLineApp

Modules

Command  Options  sys   
CommandLineUtil  os     

Classes

__init__(self, name, description, verbose_description, subCommands, options=None, authenticationFunction=None, ourOptions=None, enableShowCommands=1, fileName=None)
_build_command_path(self, command)
gen_command_tree(self)
gen_usage(self, command=None, app_name='4Suite', app_version='1.0b1', app_url='http://4suite.org/')
get_help_doc_info(self)
parse_command_line(self)
run(self, script_name=None, script_args=None)
validate_arguments(self, args)
validate_options(self, options)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Lib.CommandLine.CommandLineApp'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
global_options = [[--help]]

Data

CONSOLE_WIDTH = 110
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DEFAULT_APP_NAME = '4Suite'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
DEFAULT_APP_URL = 'http://4suite.org/'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
DEFAULT_APP_VERSION = '1.0b1'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Lib/CommandLine/CommandLineApp.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Lib.CommandLine.CommandLineApp'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.