Files
python-examples/app.sh
2025-02-10 04:31:03 +09:00

26 lines
453 B
Bash
Executable File

#! /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
;;
*)
code .
;;
esac