#!/usr/bin/env python

import sys
import osint_runner
import optparse


def run(email, output = None):
    return osint_runner.run("email", "emails", email, output)


if __name__ == "__main__":
    parser = optparse.OptionParser()
    parser.add_option('-o', '--output', action="store", dest="output", help="Save output in either JSON or HTML")
    options, args = parser.parse_args()
    email = args[0]
    run(email, options.output)
