Skip to main content

Allows you to create tasks using 'blocks:' in addition to the built-in 'depends:' arguments.

Project description

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

  1. Make sure you have Taskwarrior-Capsules installed.

  2. Install this library:

    pip install taskwarrior-blocks-capsule
  3. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taskwarrior-blocks-capsule-0.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file taskwarrior-blocks-capsule-0.1.tar.gz.

File metadata

File hashes

Hashes for taskwarrior-blocks-capsule-0.1.tar.gz
Algorithm Hash digest
SHA256 4143f8ceb8203143259cc1ef70cc4f67f410707deed5318862b32979fb3582fa
MD5 fafce99cc337610a3b22b7dc768cbceb
BLAKE2b-256 ca5f081df4a66ccf58326e833c3c36581c57a69545b53f77056070ddbe90127c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page