Package ZenUtils :: Module CmdBase :: Class CmdBase
[hide private]
[frames] | no frames]

Class CmdBase

source code

Known Subclasses:
ZenScriptBase.ZenScriptBase, ZenDaemon.ZenDaemon, ZenBackupBase.ZenBackupBase, ConfDaemon.ConfDaemon

Instance Methods [hide private]
 
__init__(self, noopts=0) source code
 
setupLogging(self) source code
 
buildParser(self) source code
 
buildOptions(self)
basic options setup sub classes can add more options here
source code
 
pretty_print_config_comment(self, comment)
Quick and dirty pretty printer for comments that happen to be longer than can comfortably be seen on the display.
source code
 
generate_configs(self, parser, options)
Create a configuration file based on the long-form of the option names
source code
 
generate_xml_table(self, parser, options)
Create a Docbook table based on the long-form of the option names
source code
 
parseOptions(self) source code
Class Variables [hide private]
  doesLogging = True