Package twisted :: Package tap :: Module procmon :: Class Options
[frames | no frames]

Class Options

UserDict --+    
           |    
     Options --+
               |
              Options


Method Summary
  parseArgs(self, processName, command, *args)
    Inherited from Options
  __init__(self)
  __hash__(self)
  __str__(self, width)
  _gather_flags(self)
Gather up boolean (flag) options.
  _gather_handlers(self)
Gather up options with their own handler methods.
  _gather_parameters(self)
Gather options which take a value.
  _generic_flag(self, flagName, value)
  _generic_parameter(self, parameterName, value)
  getSynopsis(self)
  getUsage(self, width)
  opt_help(self)
Display this help and exit.
  opt_version(self)
  parseOptions(self, options)
The guts of the command-line parser.
  postOptions(self)
I am called after the options are parsed.
    Inherited from UserDict
  __cmp__(...)
  __contains__(...)
  __delitem__(...)
  __getitem__(...)
  __len__(...)
  __repr__(...)
  __setitem__(...)
  clear(...)
  copy(...)
  get(...)
  has_key(...)
  items(...)
  iteritems(...)
  iterkeys(...)
  itervalues(...)
  keys(...)
  popitem(...)
  setdefault(...)
  update(...)
  values(...)

Class Variable Summary
str longdesc = 'This creates a procmon.tap file that can be ...
list optParameters = [['service-name', None, 'procmon', 'Serv...
str synopsis = 'Usage: mktap procmon [options] processname c...
    Inherited from Options
NoneType defaultSubCommand = None                                                                  
NoneType parent = None                                                                  
NoneType subCommand = None                                                                  

Class Variable Details

longdesc

Type:
str
Value:
'''This creates a procmon.tap file that can be used by twistd. If the
named service exists, the process is added to that ProcessMonitor.
'''                                                                    

optParameters

Type:
list
Value:
[['service-name', None, 'procmon', 'Service name to use.'],
 ['uid', None, None, 'Uid to run the process as.'],
 ['gid', None, None, 'Gid to run the process as.']]                    

synopsis

Type:
str
Value:
'Usage: mktap procmon [options] processname command [args]'            

Generated by Epydoc 2.0 on Sat Sep 13 04:20:33 2003 http://epydoc.sf.net