#!/bin/bash

while :; do

function err {
    echo "error! " "$1"
    [[ "$2" == r ]] && read -rp "press enter..." -s
}

clear
function github {
    echo " Please give the github repo name of the project you would like to test:"
    read -rp "https://github.com/vosjedev/" proname
    url="https://github.com/vosjedev/$proname"
    git clone "$url" || {
        echo "error while cloning! cleaning up..."
        [[ -d "$proname" ]] && rm -rf "$proname"
        echo "done"
        return 1
    }
    cd "$proname" || err r
    [[ -f  ]] 
}

done
