Skip to content

Instantly share code, notes, and snippets.

@michaelgold
Created September 20, 2017 16:42
Show Gist options
  • Save michaelgold/52776b7196e2b34eafb98ab5e4111b74 to your computer and use it in GitHub Desktop.
Save michaelgold/52776b7196e2b34eafb98ab5e4111b74 to your computer and use it in GitHub Desktop.
add taskwarrior task to project of parent task with parent task as a dependancy
#!/bin/bash
task=$1
args=""
for i in "${@:2}"
do args="$args $i"
done
task add pro:`task _get $task.project` dep:$task $args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment