adaschmaZachariah Aslam (Gitter): sounds like you are looking for https://github.com/amcintosh/todo.txt-cli/tree/google-tasks-addon/.todo.actions.d
grepet al. The main motivation for my add-ons is that the recurrence only starts when the current task is done. So if I have a weekly task, but I'm on vacation for several weeks, I won't get a lot of duplicate tasks; the currently open one will linger and then triggers the creation of a clone once it's done.
Hello, I am newly learning about CLI todo programs including Todo.txt and the GettingThingsDone methodology.
Question: Has anyone also tried the program Taskwarrior? I want to know how Taskwarrior and Todo.txt compare in terms of syncing and app options.
Basically, I would like to use a program that can be easily interfaced with via CLI on my computer, but also syncs up well to an app on my phone.
xuhcc > <@gitter_punitjain8695:matrix.org> How do you guys keep the file syncronized between a phone and a PC? (Anrdoid + Win/Ubuntu)
I'm using Syncthing https://syncthing.net/
@newmanth_twitter Yes, this is covered.
todo.sh -v -v help reveals this environment variable:
TODOTXT_SOURCEVAR=\$DONE_FILE use another source for listcon, listproj
To include both current and done sources, define a Bash array:
TODOTXT_SOURCEVAR='("$TODO_FILE" "$DONE_FILE")' todo.sh listproj
You can also put the
export TODOTXT_SOURCEVAR=... into your
.todo.cfg to make it permanent.
Hello @silasdb! The
_list function is exported and can be used by add-ons to output tasks with the common numbering and formatting. For task ordering, there's the
TODOTXT_SORT_COMMAND hook. So, a minimal add-on could set its own sorting command (
awk, or similar) and then invoke the built-in listing of the todo.txt file:
TODOTXT_SORT_COMMAND='awk ...' _list "$TODO_FILE" "$@"
Here's a simple but complete example from my own add-ons.