From 5f65ad7d6be4b7840ce21569826ebffcc415e900 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 7 Mar 2024 10:54:57 +0000 Subject: Adds a bash script that gives tw project completion --- get_tw_completion_by_project.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 get_tw_completion_by_project.sh (limited to 'get_tw_completion_by_project.sh') 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 -- cgit v1.2.3