Use Taskchampion to store Taskwarrior data

This replaces the TF2 task files with a TaskChampion replica.
This commit is contained in:
Dustin J. Mitchell
2022-12-15 02:52:47 +00:00
committed by Dustin J. Mitchell
parent 4b814bc602
commit 5bb9857984
24 changed files with 537 additions and 1362 deletions

View File

@@ -60,7 +60,7 @@ int main (int, char**)
context.config.set ("gc", 1);
context.config.set ("debug", 1);
context.tdb2.set_location (".");
context.tdb2.open_replica (".", true);
// Try reading an empty database.
std::vector <Task> pending = context.tdb2.pending_tasks ();
@@ -104,7 +104,7 @@ int main (int, char**)
// Reset for reuse.
cleardb ();
context.tdb2.set_location (".");
context.tdb2.open_replica (".", true);
// TODO commit
// TODO complete a task