#! /usr/bin/env bash case $1 in activate) echo "Activating the virtual environment" . ./venv/bin/activate ;; deactivate) echo "Deactivating the virtual environment" deactivate ;; gitup) echo "Pushing to git" git add -A git commit -m $(date "+%Y-%m-%dT%H:%M:%S") git push origin ;; helloworld) echo "Running the helloworld script" python src/helloworld.py ;; *) echo "Usage: $0 {activate|deactivate|helloworld}" exit 1 ;; esac