diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..c8e6425 --- /dev/null +++ b/run.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +if [ ! -d venv ]; then + echo "Creating virtualenv and installing requirements" + python3 -m venv venv + venv/bin/pip3 install -r requirements.txt +fi + +venv/bin/python3 autodoist.py \ + -a $(cat .api-token) \ + -l Next \ + -r 2 \ + -e 1 \ + --delay 7