add(taskwarrior): update tasks in taskwarrior

The implementation updates the tasks in taskwarrior and/or creates new
tasks. WIP for #3.
This commit is contained in:
2023-10-20 13:41:43 +02:00
parent 6f27c0a4d9
commit 255b35783c
2 changed files with 47 additions and 14 deletions

View File

@@ -79,6 +79,16 @@ func main() {
}
fmt.Println("---")
// NOTE: this can be used to add / modify tasks
// var update_tasks []taskwarrior.Task
// task := taskwarrior.NewTask(
// "This is a test task from gitwarrior",
// "gitwarrior",
// "issue",
// )
// update_tasks = append(update_tasks, task)
// taskwarrior.UpdateTasks(update_tasks)
// necessary configurations (see config file gitw.json)
// - access code for gitea
// - configuration for taskwarrior settings?