aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/tasks.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/tasks.toml')
-rw-r--r--examples/tools/tasks.toml24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/tools/tasks.toml b/examples/tools/tasks.toml
new file mode 100644
index 0000000..5c5e645
--- /dev/null
+++ b/examples/tools/tasks.toml
@@ -0,0 +1,24 @@
+description = "The user's to-do tasks in Vikunja. Lists open tasks, one per line: #id [project] title, due date, sorted by due date. Filter by words in the title, by project or by due date; give an id to read one task with its notes. Call it to find a task's id before editing or deleting it."
+command = ["vikunja.py", "list", "{query}", "{project}", "{due_before}", "{all}", "{id}"]
+cloud = ["hetzner"]
+timeout = 20
+
+[params.query]
+type = "string"
+description = "Words the task's title contains. Empty for every task."
+
+[params.project]
+type = "string"
+description = "Project name. Empty for every project."
+
+[params.due_before]
+type = "string"
+description = "Only tasks due up to this date, included: YYYY-MM-DD or YYYY-MM-DD HH:MM, local time, from today's date. Empty for no limit."
+
+[params.all]
+type = "string"
+description = "1 to include done tasks. Empty for open tasks only."
+
+[params.id]
+type = "string"
+description = "A task id, to read that one task in full. Empty to list."