cli-lookup/cli_lookup.py

12 lines
305 B
Python

from src.lookup import lookup
from src.type_hosts import type_hosts
from src.user_input import user_input
from src.display import display
if __name__ == "__main__":
hosts = user_input()
validated_hosts = type_hosts(hosts)
lookedup_hosts = lookup(validated_hosts)
display(lookedup_hosts)