feat(count): add number of services and checks (#1442)

This commit is contained in:
Sergio Garcia
2022-10-31 14:49:54 +01:00
committed by GitHub
parent 3e749dd652
commit 7c1dc1c977

View File

@@ -92,12 +92,17 @@ def list_services(provider: str) -> set:
def print_services(service_list: set):
print(f"Available Services:")
print(
f"There are {Fore.YELLOW}{len(service_list)}{Style.RESET_ALL} available services: \n"
)
for service in service_list:
print(f"- {service}")
def print_checks(provider: str, check_list: set, bulk_checks_metadata: dict):
print(
f"There are {Fore.YELLOW}{len(check_list)}{Style.RESET_ALL} available checks: \n"
)
for check in check_list:
try:
print(