aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/task_delete.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/task_delete.toml')
-rw-r--r--examples/tools/task_delete.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/tools/task_delete.toml b/examples/tools/task_delete.toml
new file mode 100644
index 0000000..362bab8
--- /dev/null
+++ b/examples/tools/task_delete.toml
@@ -0,0 +1,8 @@
+description = "Delete a task from the user's Vikunja (it goes to Vikunja's trash). A finished task is closed with task_edit done=1, not deleted. Before calling, read the task with tasks by its id, tell the user its title, and ask; call only after they say yes."
+command = ["vikunja.py", "delete", "{id}"]
+cloud = ["hetzner"]
+timeout = 20
+
+[params.id]
+type = "string"
+description = "The task's id, from tasks."