aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/task_edit.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/task_edit.toml')
-rw-r--r--examples/tools/task_edit.toml28
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/tools/task_edit.toml b/examples/tools/task_edit.toml
new file mode 100644
index 0000000..89b3a3d
--- /dev/null
+++ b/examples/tools/task_edit.toml
@@ -0,0 +1,28 @@
+description = "Change a task in the user's Vikunja: rename it, replace its notes, change or remove its due date, move it to another project, or mark it done or not done. Only the fields given change. Find the id with tasks first."
+command = ["vikunja.py", "edit", "{id}", "{title}", "{description}", "{due}", "{project}", "{done}"]
+cloud = ["hetzner"]
+timeout = 20
+
+[params.id]
+type = "string"
+description = "The task's id, from tasks."
+
+[params.title]
+type = "string"
+description = "New title. Empty keeps it."
+
+[params.description]
+type = "string"
+description = "New notes, Markdown; replaces the old ones. Empty keeps them."
+
+[params.due]
+type = "string"
+description = "New due date: YYYY-MM-DD or YYYY-MM-DD HH:MM, local time; none removes it. Empty keeps it."
+
+[params.project]
+type = "string"
+description = "Project name to move it to. Empty keeps it."
+
+[params.done]
+type = "string"
+description = "1 marks it done, 0 reopens it. Empty leaves it."