def error(message, level="error", exit_code=1, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"error: {}".format(message), **kwargs)
    sys.exit(exit_code)
def __init__(self, path=None, resolver=None):
        self._path = path or ()
        if not resolver:
            resolver = Resolver()
        self._resolver = resolver