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 image_delete(filename):
    thumbnail_filepath = os.path.join(app.config.get('UPLOAD_FOLDER'), filename)
    filepath = thumbnail_filepath.replace('_thumbnail', '')
    os.remove(filepath)
    os.remove(thumbnail_filepath)