Browse Source

Allow additional filter for all tasks

master
Georg Hopp 8 years ago
parent
commit
8f2fe2bb13
Signed by: ghopp GPG Key ID: 4C5D226768784538
  1. 20
      timesheet/timesheet.sh

20
timesheet/timesheet.sh

@ -172,24 +172,24 @@ function timesheet() {
printf " (generated at %s)\n\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n" \
"$(date)" \
"$(bold "" "Tasks completed from $start to $end (back $phrase)")" \
"$(showall $(doneuuids end.after:${start}))" \
"$(showall $(doneuuids end.after:${start} $@))" \
"$(bold "" "Upcoming tasks")" \
"$(showall $(pendinguuids))" \
"$(showall $(pendinguuids $@))" \
"$(bold "" "Blocked tasks")" \
"$(showall $(blockeduuids))" \
"$(showall $(blockeduuids $@))" \
"$(bold "" "Blocking tasks")" \
"$(showall $(blockinguuids))"
"$(showall $(blockinguuids $@))"
printf "%s%s\n\n%s%s\n%s\n\n%s\n\n%s\n" \
"$(bold "" "Summary")" \
"$(task summary rc._forcecolor=on 2>/dev/null)" \
"$(task rc._forcecolor=on $@ summary 2>/dev/null)" \
"$(bold "" "History")" \
"$(task history rc._forcecolor=on 2>/dev/null)" \
"$(task ghistory rc._forcecolor=on 2>/dev/null)" \
"$(task burndown.daily rc._forcecolor=on 2>/dev/null)" \
"$(task burndown rc._forcecolor=on 2>/dev/null)"
"$(task rc._forcecolor=on $@ history 2>/dev/null)" \
"$(task rc._forcecolor=on $@ ghistory 2>/dev/null)" \
"$(task rc._forcecolor=on $@ burndown.daily 2>/dev/null)" \
"$(task rc._forcecolor=on $@ burndown 2>/dev/null)"
}
timesheet
timesheet $@
# vim: set et ts=4 sw=4:
Loading…
Cancel
Save