#!/bin/sh

REPO=$1

if [ "$REPO" = "" ]; then
        echo "Please supply a REPO name that you would want to remove"
        exit 1
fi

FOLDER="$REPO"

read -p "Are you sure you want to remove the REPO $REPO (y/n) : " CONFIRM

if [ $CONFIRM = "y" ]; then
	rm -rf $FOLDER
	echo "REPO $REPO successfully removed!"
else
	echo "REPO $REPO not removed!"
fi

