begin implementation of scanning for today's waiting cards
This commit is contained in:
parent
ffcd6135f8
commit
0a53918514
12
clikan.sh
12
clikan.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue