task _get $1.rparent
}
+function tick() {
+ if (( # < 1 || # > 2)); then
+ print >&2 "Usage: $0 <filter> [duration]"
+ return 1
+ fi
+ task $1 mod wait:${2:-1h}
+}
+
function task_today_list() {
local task_cmd=(task rc.verbose:nothing)
local task_count=$($task_cmd $($task_cmd _get rc.report.today.filter) count)