When defining tasks in taskwarrior, you currently have only one option– annotating which tasks a given task depends upon using the depends: argument. This capsule adds a new argument – blocks: which you can use for creating task dependencies from the opposite side.
Installation
Make sure you have Taskwarrior-Capsules installed.
Install this library:
pip install taskwarrior-blocks-capsule
That’s all!
Use
Create a task that blocks another by using the blocks: argument with comma-separated list of task UUIDs or IDs; imagine that you have a task with an ID of 25 for which you’d like to create a dependent task:
tw add "Make sure to apply peanut butter to bread" blocks:25
The above command will cause two commands to be executed behind the scenes:
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
Metadata
Release files for taskwarrior-blocks-capsule 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| taskwarrior-blocks-capsule-0.1.1.tar.gz | 3.0 kB | Details |
Release files / taskwarrior-blocks-capsule-0.1.1.tar.gz
| Download URL | taskwarrior-blocks-capsule-0.1.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f99dac04fba71542bbddf9d94e45c021278a8bcc80563c2e3f5cc82babdf0cc5
|
|
BLAKE2b-256 checksum How to use checksums |
82f3082de063ba2cbc52a009a9d3b7be1a286a90cccb662eee663168b7817076
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |