6DSJQRPFL24IZHJTSBJ3C62VADPNSQXIM5LPITC5S3IGGXH5UVTAC if [[ "${@:1:1}" == '--run' ]]; thenlt "running whatever's next"local cmd="mkdir '${@:2}.repo' && v init '${@:2}.repo'"echo -e "to create repo, run:\n ${cmd}\n"echo -e "this would:"fi
if [[ "${@:1:1}" == '--init' ]]; thenecho -e "This command should:"
echo -e "\t- create directory '${@}.repo'"echo -e "\t- initialize a '${versionControlSystem}' repository inside directory '${@}.repo'"
echo -e "\t- create directory '${@:2}.repo' in $(pwd)"echo -e "\t- initialize a '${versionControlSystem}' repository at '$(pwd)/${@:2}.repo'"echoif [[ "${@:1:1}" == '--init' ]]; thenecho -n "EVAL: "eval "${cmd}"echofi