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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user