'Parse Table or Detail format into dict.
# Table format
ID   Name  LD-amount
123  LV-1  1
# Result
\'ID\': \'123\',
\'Name\': \'LV-1\',
\'LD-amount\': \'1\'
# Detail format
ID: 5DE94FF775D81C30
Name: LV-1
LD-amount: 1
# Result
\'ID\': \'123\',
\'Name\': \'LV-1\',
\'LD-amount\': \'1\'
:param content: The parse Content.
:returns: parse result'

def _parser(self, content=None):

    (rc, out) = super(ShowCommand, self)._parser(content)
    if (rc != 0):
        return (rc, out)
    if (len(out) < 6):
        return (rc, [])
    detect_type = self.detect_type()
    if (detect_type == 'list'):
        start_id = self.detect_detail_start_index(out)
        if (start_id < 0):
            return (rc, [])
        result = content_lines_to_dict(out[start_id:(-2)])
    else:
        start_id = self.detect_table_start_index(out)
        if (start_id < 0):
            return (rc, [])
        result = table_to_dict(out[start_id:(-3)])
    return (rc, result)
