允许您使用“blocks:”和内置的“dependents:”参数创建任务。
taskwarrior-blocks-capsule的Python项目详细描述
在taskwarrior中定义任务时,当前只有一个选项- 使用^{tt1}注释给定任务所依赖的任务$ 争论。此胶囊添加了一个新参数–blocks:,您可以 用于从另一端创建任务依赖项。
安装
确保已安装Taskwarrior-Capsules。
安装此库:
pip install taskwarrior-blocks-capsule
就这些!
使用
使用blocks:参数创建阻止另一个任务的任务 以逗号分隔的任务uuid或id列表;假设 要为其创建依赖项的ID为25的任务 任务:
tw add "Make sure to apply peanut butter to bread" blocks:25
上面的命令将导致在 场景:
task add "Make sure to apply peanut butter to bread" # let's pretend that this is created as task #26 task 25 modify depends:26