begin implementation of scanning for today's waiting cards

This commit is contained in:
YB 2022-09-07 09:17:21 +02:00
parent ffcd6135f8
commit 0a53918514
1 changed files with 12 additions and 0 deletions

View File

@ -191,6 +191,11 @@ repline(){
done
}
# put waiting cards of today or older into doing state
dotodays(){
echo :: yet unimplemented
}
showhelp(){ cat <<EOH
$0 : command line kanban
($ver)
@ -223,6 +228,7 @@ command keys:
f F: filter cards for grep pattern F (empty='.')
p: show planning (time scheduling) for active (doing) cards containing
@YYMMDD/U.U target date (YYMMDD) and expected duration (U.U)
t: search waiting cards with target date of today or older and put them into doing state
h N U.U [[YY]MMDD]: update expected duration for card N and
optionally set new target date [YY]MMDD
(asks for date if card is missing @YYMMDD)
@ -259,6 +265,11 @@ datnum() {
echo $dn
}
# extract tepatt from argument
getsdate() {
echo "$*" | sed -e "s/.*$tepatt.*/\1/"
}
showall doing
showprompt
@ -276,6 +287,7 @@ q) break ;;
d) showall doing ;;
w) showall waiting/todo/backlog ;;
a) showall archived/done ;;
t) dotodays ;;
do|wait|done) if test "$coa1" = ""
then echo "card number?"
read coa1