def __init__(self, manager): parser = NullCommandParser(prog = PLUGIN_COMMAND, description = self.__doc__) parser.add_command(callback = self.callback) FileInstaller.__init__(self, manager, PLUGIN_COMMAND, parser, PLUGIN_DIR) return
def __init__(self, manager): parser = NullCommandParser(prog = BASH_UTILS_COMMAND, description = self.__doc__) parser.add_command(callback = self.callback, narg = 0) FileInstaller.__init__(self, manager, BASH_UTILS_COMMAND, parser, BASH_UTILS_DIR) return
def __init__(self, manager): parser = CommandParser(prog = PLUGIN_COMMAND, description = self.__doc__) parser.add_command("install", narg = 0, callback = self.install, help = "install screen setting files") parser.add_command("twitter", narg = 0, callback = self.twitter, help = "print timeline of your twitter. \ this is a helper command for screen.") parser.add_command("date", narg = 0, callback = self.date, help = "print date. this is a helper commmand \ for screen.") FileInstaller.__init__(self, manager, PLUGIN_COMMAND, parser, PLUGIN_DIR) return
def __init__(self): Builder.__init__(self) # only the package root directory will have configure.ac and # acinclude.m4. we will allocate them once we know where we # are. self.__configure_ac = None self.__acinclude_m4 = None # any directory has a Makefile.am ... self.__makefile_am = Makefile_am() # ... and helper that we use to install files intelligently # (well, more or less so). self.__file_installer = FileInstaller() # a flag to generate other builders only once. self.__bursted = False pass