#!/bin/bash DEFAULT_REPO="https://git.de-roo.org/ben/Finalpychat.git" echo "dankje voor het gebruiken van bens pychat!" REPO_URL="${1:-$DEFAULT_REPO}" DIR_NAME="${2:-}" if [ -z "$REPO_URL" ]; then echo "Error: Geen Git repository opgegeven." exit 1 fi if [ -z "$DIR_NAME" ]; then git clone "$REPO_URL" else git clone "$REPO_URL" "$DIR_NAME" fi echo "Klaar."