def extract(self, commands_file, folders): # extract license text license_text = LicenseExtractor.extract_license(commands_file) FileHandling.set_license(license_text) # extract CommandAttributes.h self.command_attributes_header_file = CommandAttributesHeaderFile() self.command_attributes_header_file.write() commands = CommandsExtractor.extract(commands_file, folders) self.handle_commands(commands)
def __init__(self): CommandsExtractor.__init__(self)