【发布时间】:2018-02-05 21:59:05
【问题描述】:
我可以在 Taskwarrior 中这样创建任务时添加注释吗?
task add Description annotation:Anno
通常我必须使用两个命令来完成
task add Description
task 1 annotate Anno
【问题讨论】:
标签: taskwarrior
我可以在 Taskwarrior 中这样创建任务时添加注释吗?
task add Description annotation:Anno
通常我必须使用两个命令来完成
task add Description
task 1 annotate Anno
【问题讨论】:
标签: taskwarrior
documentation 声明的 add 命令是不可能的:
创建任务时不能添加注释,因为它会干扰任务描述。
一个可能的解决方法是要求注释的脚本:
#!/bin/bash
set -e
task add $@
ID=$(task +LATEST ids)
read -p "Annotation: " ANNOTATION
task $ID annotate $ANNOTATION
【讨论】: