Ft.Lib.CommandLine.Options

Modules

CommandLineUtil  UserList     

Classes

class BaseOption
__repr__ = __str__(self)
__str__(self)
apply_options(self, options)
displayLength(self)
gen_command_line(self)
gen_description(self)
getForGetOpt(self, short2long, takes_arg)
getName(self)
isApplied(self)
validate(self)

Data and other non-method functions defined here:

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

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__init__(self, choices)
apply_options(self, options)
displayLength(self)
gen_command_line(self)
getForGetOpt(self, short2long, takes_arg)
getName(self)
isApplied(self)
validate(self)

Data and other non-method functions defined here:

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

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__init__(self, shortName, longName, description, subOptions=None)
apply_options(self, options)
displayLength(self)
gen_command_line(self)
getForGetOpt(self, short2long, takes_arg)
getName(self)
isApplied(self)
validate(self)

Data and other non-method functions defined here:

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

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class Options(UserList.UserList)
__init__(self, data=None)
findMaxOption(self, level=0)
generate_help(self, level=1, max_opt=0)

Data and other non-method functions defined here:

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

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__init__(self, shortName, longName, description, allowed, subOptions=None)
apply_options(self, options)
gen_command_line(self)
validate(self)

Data and other non-method functions defined here:

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

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

Functions

wrap_text(text, width)

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.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Lib/CommandLine/Options.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.Options'
str(object) -> string

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