-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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