26 lines
453 B
Bash
Executable File
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
|