'Main execution path'

def __init__(self):

    self.inventory = dict()
    self.cache = dict()
    self.read_settings()
    self.parse_cli_args()
    if self.args.host:
        print _json_format_dict(self.get_host_info(), self.args.pretty)
    elif self.args.list:
        print _json_format_dict(self.get_inventory(), self.args.pretty)
    else:
        print _json_format_dict(self.get_inventory(), self.args.pretty)
