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
INVOICECMD=./mkinvoice client.md work.client.dev assets:receivable:client:reimbursement | |
client-dry: | |
$(INVOICECMD) | |
client: | |
$(INVOICECMD) -m -p | |
@read -p "press enter to commit, or ctrl-c to cancel: " | |
$(INVOICECMD) -c |
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
#!/usr/bin/env python | |
# | |
# Writes task start/stop times to a timelog formatted file. | |
# You might need to adjust LEDGERFILE, or set the TIMELOG environment variable. | |
# | |
# Example reports, after using start/stop on a task: | |
# ledger -f /path/to/timelog.ledger print | |
# ledger -f /path/to/timelog.ledger register | |
# | |
# Projects, tags, and UUIDs are fully supported and queryable from ledger. |
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
#!/usr/bin/env bash | |
# Stops all previously active tasks on "task FILTER start" | |
# | |
# Only pending tasks are checked/stopped. If you really want to stop | |
# started tasks that are completed/deleted, remove the status:pending | |
# filter. Note that this will decrease performance, and should not | |
# be necessary. | |
tw_command="" | |
for i in "$@"; do |
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
#!/usr/bin/env python3 | |
# | |
# Save as on-add_annotate.py in hooks directory, then: | |
# $ chmod +x ~/.task/hooks/on-add_annotate.py | |
# | |
# Anything after "annotate:" in a new task's description is added as an | |
# annotation: | |
# $ task add this is the description annotate:this is an annotation | |
import json |
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
#!/usr/bin/env python | |
# | |
# PoC: Manage a git repository in ~/.task that gets updated on changes. | |
# Only pending.data and completed.data are included by default. | |
# You can use "git add" to add whatever files you want to track in your | |
# task folder. | |
# | |
# Inspired by https://gist.github.com/Unode/9366218 | |
# | |
# Works with any Taskwarrior version that supports hooks. |