def cli_list_ci_projects(apic, args):
    """Implement CLI command `list-ci-projects`.
    """
    # pylint: disable=unused-argument
    ci_projs = apic.get_ci_projects()
    if ci_projs:
        for pid, attr in ci_projs.items():
            print('{}:'.format(pid))
            print('  url: https://ci.rerobots.net/p/{}'.format(pid))
            print('  repo_url: {}'.format(attr['repo_url']))
    return 0