def main(ctx):
    which = "where" if sys.platform == "win32" else "which"
    if envoy.run(which + " git").status_code != 0:
        click.secho("fatal: git not found in PATH", fg="red")
        sys.exit(1)
    ctx.obj = Hydrogen()
def __init__(self, config_d, path=None, resolver=None):
        super().__init__(path=path, resolver=resolver)
        self._collection = {}
        for key, value in config_d.items():
            self._collection[key] = self._from_python(key, value)