diff options
author | Matthew Lemon <y@yulqen.org> | 2024-03-07 10:54:57 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-03-07 10:54:57 +0000 |
commit | 5f65ad7d6be4b7840ce21569826ebffcc415e900 (patch) | |
tree | 2fcb4db7f455b31f439d8bd16278193b6cb065ed | |
parent | 35350e37528635d4ff43c2dcccfa4bdec87350c2 (diff) |
Adds a bash script that gives tw project completion
-rwxr-xr-x | get_tw_completion_by_project.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/get_tw_completion_by_project.sh b/get_tw_completion_by_project.sh new file mode 100755 index 0000000..99a3e3a --- /dev/null +++ b/get_tw_completion_by_project.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# + +if [ ! -n "$1" ] || [ $1 == "help" ] +then + echo "You must pass a parameter to this script." + echo "e.g. ./get_tw_completion_by_project.sh PROJECT DATE(ISO)" +fi + +TASK=task +PROJECT=$1 +SINCE=$2 + +$TASK project:"${PROJECT}" end.after:${SINCE} completed |