@staticmethod
def human_friendly_print_repositories(repositories_map):
    'This will print the repositories in a tabular format\n\n        Args:\n            repository_map (map<state (str), repository (list of objects)>)\n        '
    repository_count = 0
    id_pad = 5
    plan_pad = 7
    for repositories in repositories_map.values():
        for repository in repositories:
            repository_count += 1
            if (id_pad < len(repository['id'])):
                id_pad = len(repository['id'])
            if (('plan_name' in repository) and (plan_pad < len(repository['plan_name']))):
                plan_pad = len(repository['plan_name'])
    if (repository_count == 0):
        print('No repositories found')
        return
    plan_pad += 1
    id_pad += 1
    header = f"{'ID':<{id_pad}}| {'State':<9}| {'plan':<{plan_pad}}| Healthy | Repository"
    print(header)
    print(('-' * len(header)))
    for (_, repositories) in sorted(repositories_map.items()):
        for repository in repositories:
            healthy = (not (('health' in repository) and (not repository['health']['healthy'])))
            plan_name = 'N/A'
            if (('plan_name' in repository) and (len(repository['plan_name']) != 0)):
                plan_name = repository['plan_name']
            print(f"{repository['id']:<{id_pad}}| {repository['state']:<9}| {plan_name:<{plan_pad}}|  {healthy!s:<7}| {repository['repo']}")
This will print the repositories in a tabular format

Args:
    repository_map (map<state (str), repository (list of objects)>)
@staticmethod
def human_friendly_print_repositories(repositories_map):
    'This will print the repositories in a tabular format\n\n        Args:\n            repository_map (map<state (str), repository (list of objects)>)\n        '
    repository_count = 0
    id_pad = 5
    plan_pad = 7
    for repositories in repositories_map.values():
        for repository in repositories:
            repository_count += 1
            if (id_pad < len(repository['id'])):
                id_pad = len(repository['id'])
            if (('plan_name' in repository) and (plan_pad < len(repository['plan_name']))):
                plan_pad = len(repository['plan_name'])
    if (repository_count == 0):
        print('No repositories found')
        return
    plan_pad += 1
    id_pad += 1
    header = f"{'ID':<{id_pad}}| {'State':<9}| {'plan':<{plan_pad}}| Healthy | Repository"
    print(header)
    print(('-' * len(header)))
    for (_, repositories) in sorted(repositories_map.items()):
        for repository in repositories:
            healthy = (not (('health' in repository) and (not repository['health']['healthy'])))
            plan_name = 'N/A'
            if (('plan_name' in repository) and (len(repository['plan_name']) != 0)):
                plan_name = repository['plan_name']
            print(f"{repository['id']:<{id_pad}}| {repository['state']:<9}| {plan_name:<{plan_pad}}|  {healthy!s:<7}| {repository['repo']}")