'loads all the extra information from help files'

def load_help_files(self, data):

    for cmd in helps:
        diction_help = yaml.load(helps[cmd])
        if ('short-summary' in diction_help):
            if (cmd in data):
                data[cmd]['help'] = diction_help['short-summary']
            else:
                data[cmd] = {'help': diction_help['short-summary'], 'parameters': {}}
            if callable(data[cmd]['help']):
                data[cmd]['help'] = data[cmd]['help']()
        if (cmd not in data):
            print('Command:    {}    not    in    Command    Table'.format(cmd))
            continue
        if ('parameters' in diction_help):
            for param in diction_help['parameters']:
                if (param['name'].split()[0] not in data[cmd]['parameters']):
                    options = {'name': [], 'required': '', 'help': ''}
                    data[cmd]['parameters'] = {param['name'].split()[0]: options}
                if ('short-summary' in param):
                    data[cmd]['parameters'][param['name'].split()[0]]['help'] = param['short-summary']
        if ('examples' in diction_help):
            examples = []
            for example in diction_help['examples']:
                examples.append([example['name'], example['text']])
            data[cmd]['examples'] = examples
