generatetask/generatetask

21 lines
242 B
Bash

#!/bin/sh
set -e
taskl() {
task \
rc.verbose:nothing \
rc.report.list.columns:id \
rc.report.list.labels:id \
"$@" \
list
}
check_active_task() {
taskcount="$(taskl | wc -l)"
if test "$taskcount" -eq 0; then
return 1
fi
}